delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/14/02:24:33

From: "John M. Aldrich" <fighteer AT NO DOT SPAM DOT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Troubles with externs, CONIO
Date: Sun, 13 Apr 1997 11:35:07 -0700
Organization: Two pounds of chaos and a pinch of salt
Lines: 18
Message-ID: <3351275B.5433@NO.SPAM.cs.com>
References: <19970414041201 DOT AAA17136 AT ladder01 DOT news DOT aol DOT com>
NNTP-Posting-Host: ppp108.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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.

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I |     mailto:fighteer AT cs DOT com      |
| Descent 2: The Infinite Abyss - The greatest Internet game of all |
| time just got better!  This time, you're going all the way down...|
---------------------------------------------------------------------

- Raw text -


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