[FreeNX-kNX] Problem compiling nxcomp on SuSE 10

Who Knows quien-sabe at metaorg.com
Wed Dec 7 05:49:06 UTC 2005


Peter Van den Wildenbergh wrote:
> Hi All :
>  
> Downloaded the latest and greatest from nomachine on my new SuSE 10.
> Ran into a 'version' issue I guess...
>  
> Message.h:1098: warning: âclass MinorMessageStoreâ has virtual functions but non-virtual destructor
> RenderExtension.h:231: error: ISO C++ forbids declaration of âRenderMinorExtensionStoreâ with no type
> RenderExtension.h:231: error: expected â;â before â*â token
> RenderExtension.h:233: error: ISO C++ forbids declaration of âRenderMinorExtensionStoreâ with no type
> RenderExtension.h:233: error: expected â;â before â*â token
> RenderExtension.h:237: warning: âclass RenderMinorExtensionStoreâ has virtual functions but non-virtual destructor
> make: *** [ClientStore.o] Error 1
> 
> /usr/NX/nxcomp # gcc --version
> gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)
> 
> Any idea how to fix this?
> (I am NOT a c++ expert...)
> 
>  
> 
> Thanks
> 
>  
> 
> Peter
> 
>  
This patch will fix it.
--- nxcomp/RenderExtension.h~   2005-12-02 12:45:18.000000000 -0700
+++ nxcomp/RenderExtension.h    2005-12-02 12:42:59.000000000 -0700
@@ -64,6 +64,8 @@

  #define RENDEREXTENSION_MINOR_OPCODE_LIMIT         256

+class RenderMinorExtensionStore;
+
  //
  // The message class.
  //



More information about the FreeNX-kNX mailing list