[Bug c++/29834] g++ thinks it is a declaration when it cannot be

2013-07-02 Thread james.kanze at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29834 --- Comment #9 from James Kanze james.kanze at gmail dot com --- Re using the init list syntax: it won't work if you have to be compatible with other compilers (like Sun CC). Using something like (Doh (x)), ++x seems to be the most portable work

[Bug c++/53434] New: Compiler decides declaration/expression ambiguity too soon.

2012-05-21 Thread james.kanze at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53434 Bug #: 53434 Summary: Compiler decides declaration/expression ambiguity too soon. Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED

[Bug c++/51755] -Wconversion generates false warnings when the ternary operator is used

2012-01-05 Thread james.kanze at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51755 --- Comment #2 from James Kanze james.kanze at gmail dot com 2012-01-05 08:45:22 UTC --- I'd miss PR 51294. My report is almost certainly a duplicate of this one. It's a minor bug, in that it only affects warnings, but it does make -Wconversion

[Bug c++/51755] New: -Wconversion generates false warnings when the ternary operator is used

2012-01-04 Thread james.kanze at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51755 Bug #: 51755 Summary: -Wconversion generates false warnings when the ternary operator is used Classification: Unclassified Product: gcc Version: 4.4.2 Status: