Mail Archives: djgpp/1997/04/14/14:28:03
"John M. Aldrich" <fighteer AT NO DOT SPAM DOT cs DOT com> wrote:
>Mlsoftware wrote:
>>
>> gcc -c -O2 -m486 main.c
>> In file included from main.c:12:
>> c:/djgpp/include/conio.h:16: parse error before `extern'
>> make.exe: *** [main.o] Error 1
>This probably is not a problem with the 'extern' keyword, but something
>before it, like omitting a semicolon or a closing brace or parentheses.
>Check the code that comes just before the line with the 'extern'. If
>you can't figure it out, send it to me and I'll try to find the problem.
Also, the problem will likely not be in /djgpp/include/conio.h, but in
whatever file you have #include'd before that in main.c. I know this
is what John is trying to say, just thought i'd help if it turns out
to be neccesary... This kind of thing happens to me all the time.
#include is too literal :-)
- Calvin -
- Raw text -