This is the mail archive of the gcc-prs@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: c++/4044: vector<int[]> causes internal compiler error


Synopsis: vector<int[]> causes internal compiler error

State-Changed-From-To: open->analyzed
State-Changed-By: rodrigc
State-Changed-When: Fri Aug 17 18:27:44 2001
State-Changed-Why:
    In gcc 3.0, your code does not cause an Internal Compiler Error,
    but it generates a compilation error:
    
    bug.cpp:6:   instantiated from here
    /usr/local/include/g++-v3/bits/stl_vector.h:142: invalid use of array with    unspecified bounds
    
    
    Try using a vector< int * > instead.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4044&database=gcc


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