http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661
--- Comment #10 from Jason Merrill jason at gcc dot gnu.org 2012-09-17
15:42:41 UTC ---
(In reply to comment #9)
7.2p7 starts as For an enumeration whose underlying type is
fixed,, so does not apply.
That's just the first sentence; the rest of
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661
--- Comment #11 from Jason Merrill jason at gcc dot gnu.org 2012-09-17
16:06:10 UTC ---
Author: jason
Date: Mon Sep 17 16:06:03 2012
New Revision: 191395
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191395
Log:
PR c++/53661
*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661
--- Comment #12 from Harald van Dijk harald at gigawatt dot nl 2012-09-17
16:25:09 UTC ---
Oops, quite right, sorry about that.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661
--- Comment #13 from Jason Merrill jason at gcc dot gnu.org 2012-09-17
16:41:49 UTC ---
Author: jason
Date: Mon Sep 17 16:41:41 2012
New Revision: 191398
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191398
Log:
PR c++/53661
*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661
Jason Merrill jason at gcc dot gnu.org changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661
Jason Merrill jason at gcc dot gnu.org changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661
--- Comment #4 from Manuel López-Ibáñez manu at gcc dot gnu.org 2012-09-14
06:05:09 UTC ---
(In reply to comment #2)
Manuel, what do you think about this? I see the warning happening because the
underlying type of Code is unsigned int.
Isn't
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
CC||jason at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661
Jason Merrill jason at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
CC|jason at gcc dot gnu.org|
---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661
--- Comment #8 from Manuel López-Ibáñez manu at gcc dot gnu.org 2012-09-14
14:07:21 UTC ---
Wconversion does not warn either, but it also does not warn for:
enum Code {
SUCCESS=-1
};
Code a;
void foo(void)
{
unsigned int r;
r = a;
}
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661
Harald van Dijk harald at gigawatt dot nl changed:
What|Removed |Added
CC||harald at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661
--- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com 2012-09-13
23:40:22 UTC ---
Manuel, what do you think about this? I see the warning happening because the
underlying type of Code is unsigned int.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
CC||manu at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53661
Sriraman Tallam tmsriram at google dot com changed:
What|Removed |Added
Component|c |c++
15 matches
Mail list logo