Sender: nate AT cartsys DOT com Message-ID: <3693BD2B.1680C25@cartsys.com> Date: Wed, 06 Jan 1999 11:44:43 -0800 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: using tvision with djgpp References: <000401be399b$26a03420$0ca531ce AT fresita-one> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com 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