c++/5805: the expression 'new (int*)[10]' should be a syntax error

rodrigc@gcc.gnu.org rodrigc@gcc.gnu.org
Sat Mar 2 18:50:00 GMT 2002


Synopsis: the expression 'new (int*)[10]' should be a syntax error

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Mar  2 18:49:58 2002
State-Changed-Why:
    With gcc 3.0.4, I get a compilation error:
    ++-new-bug.cpp: In function `int main()':
    g++-new-bug.cpp:6: cannot convert `int*' to `int**' in assignment
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5805



More information about the Gcc-bugs mailing list