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]

Re: g++ otimizes out const globals


mrs@wrs.com (Mike Stump)  wrote:

>
> Not a bug.  I think you think that const int foo = 5; is external, it
> is not.  If you want external, the way to spell it is `extern'.
>

	Quite true, this is something that was not clearly
documented, and I screwed up.  I am sorry for taking your time with
it.  This was not meant as a personal attack on you or on the project
as a whole, a more direct response would have ended this much quicker.


		--John


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