Wierd Compiler Issue

shomari sharpe shomari.sharpe@gmail.com
Sun Dec 21 06:26:00 GMT 2014


Hi,
i need some help with a compiler issue. I'm using android native
development kit revision 10 which uses gcc 4.8 to do compilation. I have
created two files JNIWrapper.cpp (contains C code that meant to bridge
java) and game.h (contains all C++ classes, variable declarations and logic
code). The problem i have is that i cannot separate the classes into a
separate file for each (c++ header and c++ source). If i do separate game.h
into separate files I get "SIGSEGV 0x0000" (null pointer) for the classes i
try to use. What on earth could be the problem??


Regards,
Shomari Sharpe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: game.h
Type: text/x-chdr
Size: 21128 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20141221/ab292729/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JNIWrapper.cpp
Type: text/x-c++src
Size: 8542 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20141221/ab292729/attachment-0001.bin>


More information about the Gcc-help mailing list