This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Error 19970302


Terribly sorry, my cursor slipped.  Those were the .cpp files.  Here are the
.ii files.

W



# 1 "test.cpp"
class Base {
};

class Derived : public Base {
public:
    static const int ArraySize;
    int array[ArraySize];
};

const int Derived::ArraySize = 10;     
# 1 "test2.cpp"
class Derived {
public:
    static const int ArraySize;
    int array[ArraySize];
};

const int Derived::ArraySize = 10;     

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]