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++/7214: const declaration syntax and multiple definitions


Synopsis: const declaration syntax and multiple definitions

State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Fri Jul  5 03:09:52 2002
State-Changed-Why:
    not a bug.
    char const *foo ("vcalue");
    is not defining a const array, but a non-const pointer
    to char. As you have multiple definitions of a non-const
    object, it is an error.

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


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