Mail Archives: djgpp/1995/09/05/21:51:41
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:1915
|
Path: | news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!ix.netcom.com!netnews
|
From: | lars3 AT ix DOT netcom DOT com (Lars Damerow)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | installing v2? trouble with inlines/pc.h
|
Date: | 5 Sep 1995 02:22:34 GMT
|
Organization: | Drooling Freaks, Inc.
|
Lines: | 31
|
Nntp-Posting-Host: | ix-bin-ny2-17.ix.netcom.com
|
To: | djgpp AT sun DOT soe DOT clarkson DOT edu
|
Dj-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I think I'm missing something here.
I've just installed the beta of v2 on my machine, and I set up the paths
and environment with the old v1 djgpp.env and setdjgpp (with a few little
changes). I have managed to get a 'hello, world' out of the compiler, but
when I tried to compile my VESA library, the compiler starts reporting
problems with inlines/pc.h.
Here's what I get:
-----------------
d:/prog/djgpp/include/inlines/pc.h: In function `void outportb(short
unsigned in
t, unsigned char)':
In file included from d:/prog/djgpp/include/pc.h:58,
from d:/prog/djgpp/include/dos.h:10,
from vesa.cc:2:
d:/prog/djgpp/include/inlines/pc.h:39: parse error before `::'
d:/prog/djgpp/include/inlines/pc.h: In function `void outportw(short
unsigned int, short unsigned int)':
d:/prog/djgpp/include/inlines/pc.h:47: parse error before `::'
d:/prog/djgpp/include/inlines/pc.h: In function `void outportl(short
unsigned int, long unsigned int)':
d:/prog/djgpp/include/inlines/pc.h:55: parse error before `::'
....what'm I doing wrong? Is there a v2 version of djgpp.env that I should
be using? TIA!
...lars damerow
lars3 AT ix DOT netcom DOT com
- Raw text -