I am trying to compile an open source library written in c. A lot of the function declarations begin with the EXPORT keyword. (one example below)
Compiling the code as is causes 103 instances of the same error(probably one for each function), "declaration syntax error". I have tried replacing the EXPORT keyword with blank space and the keyword extern. In both cases the compile completes successfully with some warnings. When I import the resulting .lib file into my QT application , I get the error "COMDAT symbol '.exc$T' does not match section name '.rdata' " .
I am guessing this is to do with me replacing the EXPORT keyword. Is the export keyword defined in symbian C++. If not what alternate should I use, please help!
EXPORT void speex_bits_init(SpeexBits *bits)
bits->chars = (char*)speex_alloc(MAX_CHARS_PER_FRAME);
bits->buf_size = MAX_CHARS_PER_FRAME;