From: Joe P. <joe...@sn...> - 2001-06-12 18:07:02
|
On Tuesday 12 June 2001 04:58 am, David Paschal wrote: <...> > There were some pretty far-reaching changes in this checkin, and I somehow > managed to break a lot of things while making these changes. :-) It > should all be fixed now, but I would appreciate it if people could do some > print and scan testing and let me know if anything odd happens, such as > error or fatal error messages, especially about bad states or invalid file > descriptors passed to fdRegister(). > > David When compiling the latest CVS code, I get the same error Alexander reported (compiler: gcc-2.95.2). make[1]: Entering directory `/home/joe/CVS/hpoj_copy/mlcd' g++ -I/home/joe/CVS/hpoj_copy/mlcd -I/home/joe/CVS/hpoj_copy/mlcd/transport -O -g -Wall -DEX_TRANSPORT_UNIX_PORT -DPAR_PLATFORM_LINUX -DUSB_PLATFORM_LINUX -DJD_DEBUG -DBROKEN_IO_H -c -o ExMgr.o ExMgr.cpp In file included from /home/joe/CVS/hpoj_copy/mlcd/bp/ex/transport/ExTransport.h:26, from /home/joe/CVS/hpoj_copy/mlcd/bp/ex/transport/ExMlcTransport.h:26, from ExMgr.cpp:32: /home/joe/CVS/hpoj_copy/mlcd/bp/ex/ExMgr.h: In method `char * ExMgr::llioGetDeviceNode()': /home/joe/CVS/hpoj_copy/mlcd/bp/ex/ExMgr.h:806: return to `char *' from `const char *' discards qualifiers make[1]: *** [ExMgr.o] Error 1 make[1]: Leaving directory `/home/joe/CVS/hpoj_copy/mlcd' make: *** [all] Error 2 Adding a char* cast in ExMgr.h:806 allowed the build to complete without any other trouble. ExMgr.h:806: //return llioName?llioName:""; return llioName?llioName:(char*)""; -- Joe |