This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]