Click to See Complete Forum and Search --> : name resolution problem with gcc


fredocom
May 2nd, 2002, 11:55 AM
Hello, Here's the warning I obtain when I compile my C++ program with g++ :

ld: warning: symbol `time' has differing types:
(file moteur3D.o type=OBJT; file /usr/lib/libc.so type=FUNC);
moteur3D.o definition taken

...and though the variable time doesn't exist in my program. I think it's a problem of name resolution

does anyone has an idea?
does someone know if it exists an option of compilation on gcc to not display this kind of warnings?