This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/813: preprocessing error: concatination of negative integers as parameter in constants
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/813: preprocessing error: concatination of negative integers as parameter in constants
- From: sashak at smlink dot com
- Date: 15 Nov 2000 17:03:44 -0000
- Reply-To: sashak at smlink dot com
>Number: 813
>Category: c
>Synopsis: preprocessing error: concatination of negative integers as parameter in constants
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 15 09:06:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: sashak@smlink.com
>Release: unknown-1.0
>Organization:
>Environment:
Linux-2.2.16, gcc-2.96
>Description:
For instance we have such macro definition:
#define Exp10(pow) 1e##pow
Follow expression will be preproceced:
Exp10(-5) --> 1e- 5 (with blank symbol after sign).
Of course it fails during compilation.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: