This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/1688: Includes causing extern "C" not to behave correctly (?)
- To: nobody at gcc dot gnu dot org
- Subject: Re: c++/1688: Includes causing extern "C" not to behave correctly (?)
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: 17 Jan 2001 21:56:01 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
The following reply was made to PR c++/1688; it has been noted by GNATS.
From: Neil Booth <neil@daikokuya.demon.co.uk>
To: daniel@ncsu.edu
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/1688: Includes causing extern "C" not to behave correctly (?)
Date: Wed, 17 Jan 2001 21:52:41 +0000
daniel@ncsu.edu wrote:-
> After scanning the preprocessor output and everything we can
> not come up with anything that "makes sense" as to why it's
> not working.
CPP treats extern "C" things slightly differently if they're #include
<>'d rather than #include ""'d. Is that the issue?
Look at the # LINENO directives created. Are they different? (The
flag "4" at the end is to do with extern "C").
Neil.