[PATCH] sys/io.h and g++

Andreas Schwab schwab@suse.de
Thu Jan 27 09:51:00 GMT 2000


Scott Bambrough <scottb@netwinder.org> writes:

|> 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.

No, in C++ `::' is a separate token, that is different from `: :'.

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg


More information about the Libc-hacker mailing list