[Paraview] Compilation of CVS head using GCC 4.3.0

Andy Heather a.heather at opencfd.co.uk
Wed May 28 05:12:38 EDT 2008


Hi,

Has the current source tree been built/tested using GCC 4.3.0?

I received the messages below when trying to compile the CVS head (as of 
this morning)

Best regards,

Andy


---

In file included from 
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfArray.cxx:25:
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfArray.h: 
In member function ‘void XdmfArray::SetDataPointer(void*)’:
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfArray.h:89: 
error: ‘free’ was not declared in this scope
In file included from 
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.h:29,
from 
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:25:
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h: 
In member function ‘XdmfInt32 XdmfLightData::SetName(const char*)’:
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:56: 
error: ‘strcmp’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:56: 
error: ‘strlen’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:56: 
error: ‘strcpy’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h: 
In member function ‘XdmfInt32 XdmfLightData::SetFileName(const char*)’:
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:61: 
error: ‘strcmp’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:61: 
error: ‘strlen’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:61: 
error: ‘strcpy’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h: 
In member function ‘XdmfInt32 XdmfLightData::SetWorkingDirectory(const 
char*)’:
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:70: 
error: ‘strcmp’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:70: 
error: ‘strlen’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:70: 
error: ‘strcpy’ was not declared in this scope
In file included from 
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:25:
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.h: 
In member function ‘XdmfInt32 XdmfDOM::SetNdgmHost(const char*)’:
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.h:213: 
error: ‘strcmp’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.h:213: 
error: ‘strlen’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.h:213: 
error: ‘strcpy’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfArray.cxx: 
In destructor ‘virtual XdmfArray::~XdmfArray()’:
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfArray.cxx:238: 
error: ‘free’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfArray.cxx: 
In member function ‘XdmfInt32 XdmfArray::Allocate()’:
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfArray.cxx:292: 
error: ‘realloc’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfArray.cxx:294: 
error: ‘malloc’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx: 
In constructor ‘XdmfDOM::XdmfDOM()’:
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:64: 
error: ‘strlen’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:64: 
error: ‘strcpy’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx: 
In member function ‘XdmfInt32 XdmfDOM::SetOutputFileName(const char*)’:
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:170: 
error: ‘strlen’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:170: 
error: ‘strcpy’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx: 
In member function ‘_xmlNode* XdmfDOM::__Parse(const char*, _xmlDoc**)’:
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:260: 
error: ‘strlen’ was not declared in this scope
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx: 
In member function ‘_xmlNode* XdmfDOM::InsertFromString(_xmlNode*, const 
char*)’:
/home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:349: 
error: ‘strlen’ was not declared in this scope
[ 11%] make[2]: *** 
[Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfDOM.o] Error 1



More information about the ParaView mailing list