c++/4549: inf. loop compiling bad code

bangerth@dealii.org bangerth@dealii.org
Thu Nov 21 18:46:00 GMT 2002


Synopsis: inf. loop compiling bad code

State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Fri Nov 15 17:35:53 2002
State-Changed-Why:
    Both 3.2.1pre and 3.3 CVS now report
    tmp/g> /home/bangerth/bin/gcc-3.2.1-pre/bin/c++ -c x.cc
    x.cc: In function `int main()':
    x.cc:14: parse error before `{' token
    x.cc: At global scope:
    x.cc:18: redefinition of `Summat::Summat()'
    x.cc:7: `Summat::Summat()' previously defined here
    x.cc:18: no `Summat::Summat()' member function declared in class `Summat'
    x.cc: In constructor `Summat::Summat()':
    x.cc:19: parse error before `{' token
    
    and don't go into an endless loop any more.

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



More information about the Gcc-prs mailing list