Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 10756 Details for
Bug 62571
[Scanner] Unable to macro expand operator ## with "0xxyz" argument
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
test case
paste.c (text/plain), 668 bytes, created by
Mas Yokota
on 2004-05-17 18:04:22 EDT
(
hide
)
Description:
test case
Filename:
MIME Type:
Creator:
Mas Yokota
Created:
2004-05-17 18:04:22 EDT
Size:
668 bytes
patch
obsolete
>#define C(X,Y) X##Y > >int C(A,1Xxyz) = 10; >int C(B,1X1X1Xxyz) = 20; >int C(C,0Xxyz) = 30; // macro expansion is NOT OK >int C(CC,0Xxyz) = 30; // OK >int C(D,0xxyz) = 40; // macro expansion is NOT OK >int C(E,0x0x0xxyz) = 50; > >void main() >{ > if( A1Xxyz == 10 ) > printf( "OK\n" ); > else > printf( "NOK\n" ); > > if( B1X1X1Xxyz == 20 ) > printf( "OK\n" ); > else > printf( "NOK\n" ); > > if( C0Xxyz == 30 ) > printf( "OK\n" ); > else > printf( "NOK\n" ); > > if( D0xxyz == 40 ) > printf( "OK\n" ); > else > printf( "NOK\n" ); > > if( E0x0x0xxyz == 50 ) > printf( "OK\n" ); > else > printf( "NOK\n" ); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 62571
: 10756