delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/14/01:54:42

From: mlsoftware AT aol DOT com (Mlsoftware)
Newsgroups: comp.os.msdos.djgpp
Subject: Troubles with externs, CONIO
Date: 14 Apr 1997 04:13:16 GMT
Organization: AOL http://www.aol.com
Lines: 12
Message-ID: <19970414041201.AAA17136@ladder01.news.aol.com>
NNTP-Posting-Host: ladder01.news.aol.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019