On Wednesday 26 February 2003 19:25, Peter D. Gray wrote: > When I attempt to compile 0.65.0 under solaris using > SUN's compilers I get an error. Output of the make is below. > > Anyone know how to fix? > > CC -DHAVE_CONFIG_H -I. -I. -I.. > -DSHAPE -DNDEBUG -DNLS -DTIMEDCACHE > -DLOCALEPATH=\"/packages/blackbox/0.65.0/share/blackbox/nls\" > -DDEFAULTMENU=\"/packages/blackbox/0.65.0/share/blackbox/menu\" > -DDEFAULTSTYLE=\"/packages/blackbox/0.65.0/share/blackbox/styles/Results\" > -O -I/usr/openwin/include -c ImageControl.cc "ImageControl.cc", line 597: > Error: Cannot cast from ZeroRefCheck to bool(*)(const > BImageControl::CachedImage&). 1 Error(s) detected.
holy ancient compiler batman! My guess is it does not like that ZeroRefCheck is declared as a struct. Try changing it to a class and see if things improve. What version of the compiler is this? Any chance you can use a GNU compiler instead? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] List archives: http://asgardsrealm.net/lurker/splash/index.html Trouble? Contact [EMAIL PROTECTED]
