This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12513] macro past '##' behaving differently that prev. and other C/C++ compilers
- From: "jerry_williams at candle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Oct 2003 16:32:36 -0000
- Subject: [Bug c/12513] macro past '##' behaving differently that prev. and other C/C++ compilers
- References: <20031005020938.12513.jerry_williams@candle.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12513
------- Additional Comments From jerry_williams at candle dot com 2003-10-06 16:32 -------
Subject: Re: macro past '##' behaving differently that prev. and other
C/C++ compilers
Please, Additional Questions re-guarding the error msg and processing. (
as noted in the bug report 12531 )
Note again that the macros and paste actions are properly being processed
and the preprocessor output is complete with the include properly expanded.
ONLY the error message, error code, and therefore the suppressed
object/link is the problem.
If I then 'gcc foo.i' from the gcc output with -save-temps option, I
get my object/linked program OK.
Based on the statement below that this was changed with the 3.0 release;
I must wonder why GCC 3.2.1 released with Free BSD does not exhibit
this behavior?
Nor does GCC 3.1 on Apple Mac OSX exhibit it either?
I am only seeing this occur on selected Linux OS's using GCC 3.+ ( two
RedHat Intel GCC 3.2.2/GCC 3.3 , and one SuSe intel GCC 3.3.1)
not on GCC 3.2.1 or 3.1 in other Linux environments.
Could you explain further?
Thank you.
Jerry A Williams
"pinskia at gcc
dot gnu dot org" To: jerry_williams@candle.com
<gcc-bugzilla@gc cc:
c.gnu.org> Subject: [Bug c/12513] macro past '##' behaving differently that prev. and
other C/C++ compilers
10/04/2003 09:37
PM
Please respond
to gcc-bugzilla
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12513
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-05
02:37 -------
Look at bug 10212 (which has the c++ standard part, C++98 [cpp.concat]/3)
and bug 10829 and
other bugs. This was changed in the 3.0 release of gcc anyway, which was
released two years ago.
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.