c++/5074: Static class member initialization

jwezel@yahoo.com jwezel@yahoo.com
Tue Dec 11 08:15:00 GMT 2001


>Number:         5074
>Category:       c++
>Synopsis:       Static class member initialization
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 11 07:46:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     jwezel@yahoo.com
>Release:        gcc-2.95.3
>Organization:
>Environment:
Linux 2.4.4
>Description:
Initializing static class members with an expression of t++ all yield the final value for t (ie. for n classes, all values of t are n). 
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list