[FreeNX-kNX] Erro Compile GCC 4.01 - NXCOMP

Adriano Frare alfrare at e-alinux.com
Sat Sep 17 11:54:41 UTC 2005


Dear Friend,

When I compile NXCOMP on GCC 4.01 I have received follow messages:

g++ -c -O3 -I../nx-X11/exports/include -Wmissing-declarations 
-Wnested-externs -DIN_ADDR_T=in_addr_t -DVERSION=\"1.4.0\" 
-I/usr/X11R6/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes 
-Wno-deprecated   ClientStore.cpp
cc1plus: warning: command line option "-Wmissing-declarations" is valid 
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wnested-externs" is valid for 
C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for 
Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid 
for Ada/C/ObjC but not for C++
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




gcc --version
gcc (GCC) 4.0.1 (Debian 4.0.1-2)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



Thanks for help.

Adriano



More information about the FreeNX-kNX mailing list