This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/608: g++ warns for pasting without reason
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/608: g++ warns for pasting without reason
- From: jorma dot laaksonen at hut dot fi
- Date: 5 Oct 2000 08:39:49 -0000
- Reply-To: jorma dot laaksonen at hut dot fi
- Resent-Cc: gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, jason at gcc dot gnu dot org
- Resent-Reply-To: gcc-gnats@gcc.gnu.org, jorma.laaksonen@hut.fi
>Number: 608
>Category: c++
>Synopsis: g++ warns for pasting without reason
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 05 01:46:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Jorma Laaksonen
>Release: gcc-2.96
>Organization:
>Environment:
RedHat Linux 7.0 gcc-2.96-54
>Description:
Preprocessing a c++ file gives a warning message which
in my opinion is reasonless.
The message is triggered by a ## preprocessing operator
preceded by a structure variable name and dot.
The message is:
warning: pasting would not give a valid preprocessing token
>How-To-Repeat:
g++ -E gcc-test.C
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="gcc-test.C"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="gcc-test.C"
CiNkZWZpbmUgc2V0KGEsIGIpIHMuIyNhID0gYgoKbWFpbigpIHsKICBzdHJ1Y3Qge2ludCB4O30g
czsKICBzZXQoeCwgMSk7Cn0KCg==