This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Diagnostic Messaging Suggestion
- From: Arthur Schwarz <aschwarz1309 at verizon dot net>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 16 Apr 2009 15:40:47 -0700 (PDT)
- Subject: Re: Diagnostic Messaging Suggestion
Thanks to everyone.
The rock has dropped. The answer is quoted below:
"My best guess is that a header file is included twice, and lacks guards, hence the message is correct: the function is being defined twice, from the same source location."
I had put my friends following my 'include guard'. As we all know, when your guard is down you can get sucker-punched.
Although you should never try to teach an old dog new tricks, with luck and a good tail wind this will never happen again.
thanks
art
PS: You are now all my best friend. Sorry.