Date: Wed, 3 May 95 01:30:16 +0800 From: b8003054 AT nas07 DOT kpi DOT edu DOT tw (8003054) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Need a help of Turbo Vision port! I download the ZIP file from ftp.delorie.com and write a makefile for it (I don't have Borland MAKE). But when I compile it, I get many warning messages. warning: discarding `const' applied to a reference (Previous line appears in many files when compiling) gmenu.cc: In function `struct GRect getRect(struct GRect &, class GMenu *)': gmenu.cc:487: warning: `getRect(GRect &, GMenu *)' was declared `extern' and later `static' gmenu.h:84: warning: previous declaration of `getRect(GRect &, GMenu *)' gmenu.cc:487: warning: in passing argument 1 of `getRect(GRect &, GMenu *)' gobject.h:65: warning: in passing argument 1 of `operator +(GRect &, GRect &)' gmsgbox.cc:116: warning: second parameter of `va_start' not last named argument gmsgbox.cc:140: warning: second parameter of `va_start' not last named argument Before compiling, I have modified the line 65 of gdircol.cc. I change '%%eax' to '%eax'. I also modified gobject.h; I make all the members of class GView be public. (I get an error; the member drawn is protected. It can not be inherited as a public member.) After modifying, the library is built successfully. But when I make the test program, I get some errors. undefined reference to '.....' I have tried to correct it. Could anyone help me? Thanks!