Message90221
@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) |
|
Date |
User |
Action |
Args |
2009-07-07 09:28:25 | markon | set | recipients:
+ markon, loewis, brett.cannon, georg.brandl, phd, tim.golden, r.david.murray, joe.amenta |
2009-07-07 09:28:24 | markon | set | messageid: <1246958904.81.0.623561220716.issue6070@psf.upfronthosting.co.za> |
2009-07-07 09:28:23 | markon | link | issue6070 messages |
2009-07-07 09:28:22 | markon | create | |
|