<--- Noob Windows Compile Question
Posted: Sun Dec 07, 2008 4:43 am
I'm getting a compile error when compiling the source and I have no idea how to fix it. Anyone have any ideas?
Code: Select all
C:\Documents and Settings\Scott\Desktop\EQ2Emu Source\World>make all
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align
-Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY
-DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../comm
on/timer.cpp -o ../common/timer.o
g++: unrecognized option `-pthread'
In file included from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/cstring:51,
from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/char_traits.h:45,
from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/string:47,
from ../common/../common/../common/../common/types.h:23,
from ../common/../common/../common/Mutex.h:29,
from ../common/../common/debug.h:65,
from ../common/timer.cpp:20:
../common/../common/../common/../common/unix.h:32: error: previous declaration of `char* strlwr(char*)' with C++ linkage
/usr/include/string.h:74: error: conflicts with new declaration with C linkage
../common/../common/../common/../common/unix.h:31: error: previous declaration of `char* strupr(char*)' with C++ linkage
/usr/include/string.h:75: error: conflicts with new declaration with C linkage
make: *** [../common/timer.o] Error 1