Source does'nt compile on Linux
Brought to you by:
soepy
Hello,
I tried to build fart on Linux and cannot with the following
error.
~/build/fart198> cat mk
gcc fart.cpp fart_shared.c wildmat.c -o fart $@
~/build/fart198> gcc fart.cpp fart_shared.c wildmat.c -o
fart $@
In file included from fart.cpp:48:
fart_shared.h:89: declaration of C function `char*
memmem(char*, unsigned int,
const char*, unsigned int)' conflicts with
/usr/include/string.h:217: previous declaration `void*
memmem(const void*,
unsigned int, const void*, unsigned int)' here
I am using RedHat.
Logged In: YES
user_id=60499
Originator: NO
Seems that "memmem" already exists in the CRT?
I will check it. Thanks.
I got the same error on Ubuntu 8.04