[Bug 6295] wpp not preprocessing macros correctly

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jun 4 02:54:26 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=6295





--- Comment #3 from Nicolas Delcros <nicolas at dyalog.com>  2008-06-04 02:54:26 ---
the preprocessor should replace any occurence of arg by its value.
the correct result, e.g. by gcc, is :

# 1 "wpp_bug.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "wpp_bug.c"
# 14 "wpp_bug.c"
int macro1 = (0 1);
int macro2 = (1 0);
int macro3 = (0 (0) 1 0 1 (0));

int macro4 = (0 1);
int macro5 = (1 0);
int macro6 = (0 (0) 1 0 1 (0));


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list