From: frenchc AT cadvision DOT com (Calvin French) Newsgroups: comp.os.msdos.djgpp Subject: Re: Troubles with externs, CONIO Date: Sun, 13 Apr 1997 17:46:45 GMT Organization: CADVision Development Corp. Lines: 22 Message-ID: <5isjjm$2g86@elmo.cadvision.com> References: <19970414041201 DOT AAA17136 AT ladder01 DOT news DOT aol DOT com> <3351275B DOT 5433 AT NO DOT SPAM DOT cs DOT com> NNTP-Posting-Host: ts53ip154.cadvision.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp "John M. Aldrich" 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 -