public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11749] New: warning when initializing an enum type exceeding precision
@ 2003-07-31 15:51 mueller at kde dot org
  2003-07-31 15:52 ` [Bug c++/11749] " mueller at kde dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: mueller at kde dot org @ 2003-07-31 15:51 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11749

           Summary: warning when initializing an enum type exceeding
                    precision
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mueller at kde dot org
                CC: gcc-bugs at gcc dot gnu dot org

Hi,  
 
testcase:  
 
enum QEvent { x = 42 }; 
 
int main() 
{ 
    QEvent x = ( QEvent ) 42000; 
 
 
    return ( int ) x; 
}


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/11749] warning when initializing an enum type exceeding precision
  2003-07-31 15:51 [Bug c++/11749] New: warning when initializing an enum type exceeding precision mueller at kde dot org
@ 2003-07-31 15:52 ` mueller at kde dot org
  2003-07-31 15:57 ` pinskia at physics dot uc dot edu
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mueller at kde dot org @ 2003-07-31 15:52 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11749


mueller at kde dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/11749] warning when initializing an enum type exceeding precision
  2003-07-31 15:51 [Bug c++/11749] New: warning when initializing an enum type exceeding precision mueller at kde dot org
  2003-07-31 15:52 ` [Bug c++/11749] " mueller at kde dot org
@ 2003-07-31 15:57 ` pinskia at physics dot uc dot edu
  2003-08-23  1:03 ` dhazeghi at yahoo dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-31 15:57 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11749


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-31 15:57:49
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-31 15:57 -------
I confirm this on the mainline (20030730) which now has the correct with enum types.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/11749] warning when initializing an enum type exceeding precision
  2003-07-31 15:51 [Bug c++/11749] New: warning when initializing an enum type exceeding precision mueller at kde dot org
  2003-07-31 15:52 ` [Bug c++/11749] " mueller at kde dot org
  2003-07-31 15:57 ` pinskia at physics dot uc dot edu
@ 2003-08-23  1:03 ` dhazeghi at yahoo dot com
  2003-09-10 22:30 ` pinskia at gcc dot gnu dot org
  2003-09-10 23:11 ` bangerth at dealii dot org
  4 siblings, 0 replies; 6+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-23  1:03 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11749


dhazeghi at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |---


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/11749] warning when initializing an enum type exceeding precision
  2003-07-31 15:51 [Bug c++/11749] New: warning when initializing an enum type exceeding precision mueller at kde dot org
                   ` (2 preceding siblings ...)
  2003-08-23  1:03 ` dhazeghi at yahoo dot com
@ 2003-09-10 22:30 ` pinskia at gcc dot gnu dot org
  2003-09-10 23:11 ` bangerth at dealii dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-10 22:30 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11749


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |snyder at fnal dot gov


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-10 22:30 -------
*** Bug 12242 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/11749] warning when initializing an enum type exceeding precision
  2003-07-31 15:51 [Bug c++/11749] New: warning when initializing an enum type exceeding precision mueller at kde dot org
                   ` (3 preceding siblings ...)
  2003-09-10 22:30 ` pinskia at gcc dot gnu dot org
@ 2003-09-10 23:11 ` bangerth at dealii dot org
  4 siblings, 0 replies; 6+ messages in thread
From: bangerth at dealii dot org @ 2003-09-10 23:11 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11749


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


------- Additional Comments From bangerth at dealii dot org  2003-09-10 23:11 -------
Duplicate of PR 12242 which has significantly more information. 

*** This bug has been marked as a duplicate of 12242 ***


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-09-10 23:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-31 15:51 [Bug c++/11749] New: warning when initializing an enum type exceeding precision mueller at kde dot org
2003-07-31 15:52 ` [Bug c++/11749] " mueller at kde dot org
2003-07-31 15:57 ` pinskia at physics dot uc dot edu
2003-08-23  1:03 ` dhazeghi at yahoo dot com
2003-09-10 22:30 ` pinskia at gcc dot gnu dot org
2003-09-10 23:11 ` bangerth at dealii dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).