PDA

View Full Version : help with compilation



12-18-2000, 12:21 PM
I use the lcc compiler with OpenGL. I must make a program that gets the inputs from the keyboard. I made the program, but when i compile it, I receive the following message:

Warning c:\lcc-glapp\lcc\demo\trabalho2.c: c:\lcc-glapp\lcc\demo\stdio.h: 10 redefinition of wchar_t
Compilation + link time:2.2 sec, Return code: 0

what can I do? What is this problem?
If I comment this line in the stdio.h file the program compiles, but it doesnt read the input from the keyboard...
Please, help

12-19-2000, 08:12 AM
The problem is that wchar_t is defined in several places probably because of poor header files. Get better headers or correct the ones you got.