This is the mail archive of the
mailing list for the GCC project.
Re: Undefined constant is crashing streams - g++ bug?
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: Daniel Marschall <daniel-marschall at viathinksoft dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 29 Apr 2012 09:10:22 +0200 (CEST)
- Subject: Re: Undefined constant is crashing streams - g++ bug?
- References: <firstname.lastname@example.org>
- Reply-to: gcc at gcc dot gnu dot org
On Sun, 29 Apr 2012, Daniel Marschall wrote:
I think I have found a bug in G++ . Please submit it to the bug tracker (I do
not want to open an account there) if you think it is a bug - I am not sure
Opening an account is not that bad. The right list to ask for help is
email@example.com, please post any follow-up there.
While I worked with "search+replace" I accidently had following in my source
const char* DUMMY = DUMMY;
It is amaazing that this code actually does compile. And no warning is output
(it won't warn if you write that line in the global scope, but it does
inside a function)