This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: #elseif and #ifdef funnies [FOLLOW-UP]
- To: Alex Buell <alex dot buell at tahallah dot demon dot co dot uk>
- Subject: Re: #elseif and #ifdef funnies [FOLLOW-UP]
- From: Alex Buell <alex dot buell at tahallah dot demon dot co dot uk>
- Date: Thu, 1 Nov 2001 01:08:55 +0000 (GMT)
- cc: Mailing List - GCC <gcc at gcc dot gnu dot org>
- Reply-To: <alex dot buell at tahallah dot demon dot co dot uk>
On Thu, 1 Nov 2001, Alex Buell wrote:
> I was under the impression that #elseif and #elif were functionally
> the same. Is this not true?
I figured it out, but I think it shows a bug in the gcc pre-processor.
If I compile with -pedantic, it objects to the invalid pragmas used
(#elsif and #elseif), but *why* does it continue to compile it, even with
that error?
--
Come the revolution, humourless gits'll be first up against the wall.
http://www.tahallah.demon.co.uk