This is the mail archive of the gcc-prs@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]
Other format: [Raw text]

preprocessor/7976: macro definition


>Number:         7976
>Category:       preprocessor
>Synopsis:       macro definition
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 19 04:46:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     National Bank of Poland
>Release:        gcc version 3.1
>Organization:
>Environment:
HPUX 10.20 hw:K460, HPUX 11.00 hw:J5000, GNU/Linux Debian 2.2.17
>Description:
Execution of some mocro definition yield unexpected results:
"cpp" reports:
> 
> cpp-define.c:22:13 warning: pasting ")" and "l"
> does not give a valid preprocessing token
> 
>How-To-Repeat:
"cpp-define.c" is the attached file
gcc -E cpp cpp-define.c
cpp cpp-define.c
>Fix:
I do not know.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="cpp-define.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="cpp-define.c"

CiBUaGlzIGNvZGUgaXMgdGhlIGV4Y2VycHQgZnJvbQogaHB1eC0xMC4yMDovdXNyL2luY2x1ZGUv
aW5pdHR5cGVzLmgKCiBJIGV4cGVjdGVkIHRoZSBtYWNybyBjYWxsICJVSU5UMzJfQygxMjMpIgog
dG8gcmV0dXJuICIxMjN1bCIgYnV0IGl0IHByb2R1Y2UgIjEyM3UgbCIuCiBUaGUgc2FtZSByZXN1
bHQgSSBvYnRhaW5lZCBvbiBMaW51eC4KIFRoZSBIUFVYIGFuc2ljIHJldHVybnMgdGhlIGV4cGVj
dGVkICIxMjN1bCIuCgogSSBwcm9jZXNzZWQgdGhpcyBmaWxlIGJ5OgoJZ2NjIC1FIGNwcC1kZWZp
bmUuYwoJY3BwIGNwcC1kZWZpbmUuYwoKICJjcHAiIHJlcG9ydHM6Cj4KPiBjcHAtZGVmaW5lLmM6
MjI6MTMgd2FybmluZzogcGFzdGluZyAiKSIgYW5kICJsIgo+IGRvZXMgbm90IGdpdmUgYSB2YWxp
ZCBwcmVwcm9jZXNzaW5nIHRva2VuCj4KCiNkZWZpbmUgX19DT05DQVRfXyhfQSxfQikgX0EgIyMg
X0IKI2RlZmluZSBfX0NPTkNBVF9VX18oX0EpIF9BICMjIHUKI2RlZmluZSBVSU5UMzJfQyhfX2Mp
IF9fQ09OQ0FUX18oX19DT05DQVRfVV9fKF9fYyksbCkKClVJTlQzMl9DKDEyMykKCg==


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