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]
Other format: [Raw text]

Re: c++/10065: -pedantic has strange side effects; what is accepted in -std=c++98


Old Synopsis: gcc/g++ issues error instead of warning on non-ISO array assignment.
New Synopsis: -pedantic has strange side effects; what is accepted in -std=c++98

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Sat Mar 22 04:22:53 2003
State-Changed-Why:
    Confirmed, kind of. First thing of course is that
    -pedantic converts errors into warnings. This has been
    shown in other PRs previously.
    
    That gcc doesn't allow array copies any more is a 
    feature -- i.e., it is an extension of earlier versions
    that was abandoned. 
    
    The thing with variably sized arrays: I think this is in
    deferrence to C99. However, it is also accepted by g++
    with -std=c++98, which I think is wrong.
    
    W.

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


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