Mercurial > mplayer.hg
view TOOLS/GL-test/compile.sh @ 19085:e5ec659ec1c6
added checks for stupid code like casting return value of malloc and friends,
sizeof(char) and similar 1 byte types, &&1, ||0, +0, -0, *1, *0
typical usage: ./checktree.sh -none -stupid -showcont somefile.c
author | ivo |
---|---|
date | Fri, 14 Jul 2006 22:05:49 +0000 |
parents | b635d250fd0e |
children |
line wrap: on
line source
gcc -g -O4 gltest.c ../../osdep/timer-lx.o -o gltest -L/usr/X11/lib -L/usr/X11R6/lib -lglut -lGL -lGLU -lX11 -lXext -lXmu -lXi -lm