Author markon
Recipients brett.cannon, georg.brandl, joe.amenta, loewis, markon, phd, r.david.murray, tim.golden
Date 2009-07-07.09:28:22
SpamBayes Score 6.77419e-05
Marked as misclassified No
Message-id <1246958904.81.0.623561220716.issue6070@psf.upfronthosting.co.za>
In-reply-to
Content
@r.david.murray:
Does this works on Windows? Are you sure Oleg? :)
Since you've done this:
#ifndef MS_WINDOWS
 /* mode = ..*/
#endif

but on Windows the compiler "jumps" over this code, so you can get a
binding error, since it doesn't find the variable "mode"...

E.g (on my Debian):

#ifndef __GNUC__
 #define X 10
#endif

int main()
{
    printf("%d\n", X);
}

it gives error: ‘X’ undeclared (first use in this function)
History
Date User Action Args
2009-07-07 09:28:25markonsetrecipients: + markon, loewis, brett.cannon, georg.brandl, phd, tim.golden, r.david.murray, joe.amenta
2009-07-07 09:28:24markonsetmessageid: <1246958904.81.0.623561220716.issue6070@psf.upfronthosting.co.za>
2009-07-07 09:28:23markonlinkissue6070 messages
2009-07-07 09:28:22markoncreate