This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/5074: Static class member initialization
- From: jwezel at yahoo dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 11 Dec 2001 15:42:13 -0000
- Subject: c++/5074: Static class member initialization
- Reply-to: jwezel at yahoo dot com
>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: