Mail Archives: djgpp/1997/04/14/17:01:47
In article <19970414041201 DOT AAA17136 AT ladder01 DOT news DOT aol DOT com>
mlsoftware AT aol DOT com "Mlsoftware" writes:
> Recently, while updating a program I have to use #ifndefs and externs for
> header file impementation, I encountered this error while compiling:
>
> 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
>
> Does anyone have any ideas? I use externs for the video buffer. I am
> perplexed. If you have an idea, please e-mail it to me at
> mlamanuzzi AT geocities DOT com, as I do not read this group on a regular basis.
> Thanks in advance.
You have a mistake in main.c just before the line
#include <conio.h>
--
:sb)
- Raw text -