[tuhopuu-devel] Re: [tuhopuu-cvs] CVS commit: blender/source/blender/src renderman.c
Chris Want
tuhopuu-devel@blender.org
Sat, 10 May 2003 13:35:36 -0600
> Thanks for the irix fixes hos!
> (didnt know that you couldnt change the value of a variable inside an #ifdef)
The ifdef wasn't the prob ... the value
was changed outside of a function.
Outside of a function, you can only set a value
for a global variable when you declare the variable,
so this is bad:
.
.
int rwindows;
rwindows = 1;
.
.
but this is OK:
.
.
int rwindows = 1;
.
.
I guess msvc (and gcc) is pretty lenient with
this kind of stuff, but the MipsPro compiler is
a bit more anal.
Chris