This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


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

Re: [RFA] linespec.c change to stop "malformed template specification" error



Daniel Berlin <dan@cgsoftware.com> writes:
> Though i don't believe the ternary operator is allowed there, gcc
> certainly doesn't like it.

It should be.  It's a constant expression in C, anyway.  And it would
seem to be under Stroustrup's (rather hand-wavy) Section C.5, too.


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