[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [linrad] Erroe make Linrad
The vgatest.c test program does not work with all compilers.
Change #include "vga.h"
to #include <vga.h>
and move the statement upwards to become the first include
If it does not work, just make vgatest.c an empty file
or use an earlier version of Linrad.
linrad-01.11 will have the above change and I am not yet aware
of any other problems with vgatest.
You do not need the vgatest program to run Linrad. It is just
a simple program to verify that your svgalib installation is
ok. The code is old and there are always little problems before
something runs with all compiler versions;)
When make Linrad I receive this error
gcc -O -W -Wimplicit -Wreturn-type -Wformat \
-Wunused -Wcomment -Wchar-subscripts -Wshadow -Wuninitialized \
-Wparentheses -Wstrict-prototypes -Werror -ffast-math -fforce-mem \
-fomit-frame-pointer -c -o vgatest.o \
vgatest.c: In function `main':
vgatest.c:176: warning: declaration of `expl' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
make: *** [vgatest.o] Error 1
I am using linrad 01-10
73 de Arne/SM5CNQ