This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/3735: g++ 3.0 conditional ? operator problem


Synopsis: g++ 3.0 conditional ? operator problem

State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Sat Dec 15 10:16:37 2001
State-Changed-Why:
    not a bug.
    
    see [2.13.4]/1 for the type of a string literal
    see [4.2]/2 for how one can be converted to char *
    'cond ? "a" : "b" ' is not a string literal

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3735


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