[Bug c++/14794] New: the following code sould not compile?

dbs at cmie dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 31 07:32:00 GMT 2004


class ca
    {
    public:
        static const int size;
        int some;
        int list[size];
        double more;
    public:
    };

unless you change one line to:

        static const int size= 20;

-- 
           Summary: the following code sould not compile?
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dbs at cmie dot com
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list