https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69523
Jonathan Wakely changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69523
--- Comment #12 from Jonathan Wakely ---
Author: redi
Date: Sun Feb 19 14:13:53 2017
New Revision: 245574
URL: https://gcc.gnu.org/viewcvs?rev=245574&root=gcc&view=rev
Log:
PR c++/69523 make -Wliteral-suffix control warning
gcc:
PR c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69523
--- Comment #11 from Jonathan Wakely ---
Patch submitted to gcc-patches with docs:
https://gcc.gnu.org/ml/gcc-patches/2017-02/msg01109.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69523
Eric Fiselier changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|FIXED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69523
Eric Fiselier changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69523
--- Comment #8 from Eric Fiselier ---
Created attachment 39069
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39069&action=edit
fix.patch
Add a suggested fix with make -Wno-literal-suffix suppress the reserved
identifier warnings.
@Jonath
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69523
--- Comment #7 from Eric Fiselier ---
> The warning should be controlled by *some* flag, but I'm not sure whether or
> not linking it with -Wliteral-suffix makes sense. I'll prepare a patch and
> see what people think.
Any update? I would be h
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69523
--- Comment #6 from Jonathan Wakely ---
We already support that flag, but the warning that you get on the declaration
of operator""s is not controlled by that flag.
The warning should be controlled by *some* flag, but I'm not sure whether or
not
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69523
--- Comment #5 from Eric Fiselier ---
Would it be possible to add a -Wno-literal-suffix flag? I really want to use
warning with GCC, but I need to disable this one.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69523
--- Comment #4 from Jonathan Wakely ---
(In reply to Richard Biener from comment #3)
> Not sure how namespace std should be special then though.
Suffixes that don't start without underscore are reserved, but so are all names
in namespace std. It
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69523
Richard Biener changed:
What|Removed |Added
Keywords||diagnostic
Status|UNCONFIRM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69523
--- Comment #2 from Eric Fiselier ---
@Andrew I'm a libc++ developer and I really like using compiler warnings when
developing and testing libc++. Using -isystem prevents this entirely. Normally
they are system headers but this is explicitly turn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69523
--- Comment #1 from Andrew Pinski ---
How about declaring those headers as system headers by using -isystem instead
of using -I :)?
13 matches
Mail list logo