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


Andreas Schwab <schwab@suse.de> writes:

> The syntax for the asm statement does not contain `::'.

Right.  And therefore gcc has to interpert :: as two :.

> Check the facts!  All the standard allows is a string literal.  Not any
> thing remotely that looks like `::'.

You are really trying hard to ignore what I say.  The goal is to have
compatibility with GNU C.  If GNU C extends the syntax to allow the :
separated expressions then the goal is that GNU C++ does the same.  If
it's not doing this the whole effort is failing.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

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