[PATCH] sys/io.h and g++
Thorsten Kukuk
kukuk@suse.de
Thu Jan 27 09:02:00 GMT 2000
Hi,
On Thu, Jan 27, Scott Bambrough wrote:
> Thorsten Kukuk wrote:
> >
> > I have append a patch to make sys/io.h (2.1.3 and 2.2) for i386
> > C++ safe.
> >
>
> This fix is fine, but I don't believe it should be necessary. The C++ parsing
> routines should recognize they are in an inline assembler construct and act
> accordingly. IMHO, this is a compiler bug.
I agree with you that this is a compiler bug, neverless, g++ 2.95.2
cannot compile it so we need the patch.
Thorsten
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE GmbH Schanzaeckerstr. 10 90443 Nuernberg
Linux is like a Vorlon. It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.
More information about the Libc-hacker
mailing list