delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/05/10:10:03

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RHIDE can't find include's
Date: Sat, 05 Feb 2000 16:00:47 +0200
Organization: NetVision Israel
Lines: 32
Message-ID: <389C2D0F.7A7DB495@is.elta.co.il>
References: <Pine DOT GSO DOT 4 DOT 10 DOT 10002050556150 DOT 13215-100000 AT bluestem>
NNTP-Posting-Host: ras1-p49.rvt.netvision.net.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 949759269 11195 62.0.172.51 (5 Feb 2000 14:01:09 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 5 Feb 2000 14:01:09 GMT
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en,ru,hebrew
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Scott J. McCaughrin" wrote:
> 
> On Wed, 26 Jan 2000, Eli Zaretskii wrote:
> 
> >
> > On Tue, 25 Jan 2000, Scott J. McCaughrin wrote:
> >
> > > I just donwloaded and installed the most recent version of RHIDE, but
> > > it cannot find #include's (header files).
[snip]
> #include <dpmi.h>
> 
>  int main()
>  { __dpmi_regs Regs;
>    // other declare's
>  }
> 
>  hicolor.c(14) Error: `__dpmi_regs' undeclared (first use ... )

Sorry, I don't understand: in your initial message (see above) you told that
RHIDE doesn't find header files.  And yet the only error message you quote
now is about __dpmi_regs being undeclared, which is quite a different story. 
Is that the *only* message, or are there more?  If the latter, please post
all of the messages, in their exact wording and in the same order as they
appeared when you compiled the source.

If indeed the above was the only message (i.e., there was no error message
about dpmi.h being missing), then it could be that your compiler options
include -ansi ot -posix.  When you use one of these options, the definition
of __dpmi_regs is concealed from the compiler (because __dpmi_regs is not
defined by the ANSI/Posix standards and would therefore pollute the namespace
of your program).

- Raw text -


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