From: tomw AT tsys DOT demon DOT co DOT uk (Tom Wheeley) Newsgroups: comp.os.msdos.djgpp Subject: Re: Troubles with externs, CONIO Date: Mon, 14 Apr 97 17:41:48 GMT Organization: Adventures and Diving Message-ID: <861039708snz@tsys.demon.co.uk> References: <19970414041201 DOT AAA17136 AT ladder01 DOT news DOT aol DOT com> Reply-To: tw104 AT york DOT ac DOT uk Lines: 23 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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 -- :sb)