Matthias Klose wrote:

> cc -I../common -L../lib -O3  -funroll-loops -Wall -g -Dlinux 
> -D_FILE_OFFSET_BITS=64 -L/usr/X11R6/lib -I/usr/include/X11 -DNOSTEREO 
> -DDEVPATH=\"/build/user-radiance_3R9+20090811-1-amd64-R4U756/radiance-3R9+20090811/debian/radiance/usr/lib/radiance/dev\"
>    -c -o rhdobj.o rhdobj.c
> rhdobj.c:85:1: warning: variably modified 'ssamp' at file scope
> rhdobj.c: In function 'ssph_neigh':
> rhdobj.c:221:15: error: storage size of 'neighlist' isn't constant

After preprocessing the file we get the following line - thanks to some defines:

 static short 
neighlist[((int)(((double)3.14159265358979323846)/2.*11+.5))+6][2];

which should result in a constant storage size - or what am I missing here?


Cheers,

Bernd

-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprints: 06C8 C9A2 EAAD E37E 5B2C BE93 067A AD04 C93B FF79
                   ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to