Mail Archives: djgpp/2000/02/05/10:10:03
"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 -