Mail Archives: djgpp/1999/01/06/14:48:01
Jorge Ivan Meza Martinez wrote:
> Now, I let it ran, I got an error:
>
> make.exe: [Names/MemoName.o] Error -1 (ignored)
> gcc -O2 -Wall -I. -I. -I./include -o Names/MemoName.o -c Names/MemoName.cc
> In file included from include/Editors.h:26,
> from include/tv.h:647,
> from Names/MemoName.cc:2:
>
> d:/djgpp/include/string.h:13: warning: `NULL' redefined
> d:/djgpp/lang/cxx/libio.h:88: warning: this is the location of the previous
> definition
> In file included from include/tv.h:647,
>
> from Names/MemoName.cc:2:
> include/Editors.h:333: overflow in array dimension
>
> make.exe: *** [Names/MemoName.o] Error 1
I think this is explained in FAQ section 8.18. You could fix it by
hacking the DJGPP headers and putting #ifndef NULL around all #define
NULL's. (DJ objects to this on principle, which is why it isn't in the
distribution.)
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -