This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c/813: preprocessing error: concatination of negative integers as parameter in constants



>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:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]