Commit 3fa0b79e authored by Francois Bertel's avatar Francois Bertel
Browse files

COMP:Fixed errors with gcc>=4.3 by including stdlib.h or string.h.

parent 74264ee0
......@@ -44,6 +44,7 @@ of the array is the same type). Access to HDF5 files is
accomplished directly thru XdmfArrays by the XdmfHDF class.
*/
#include <stdlib.h>
class XDMF_EXPORT XdmfArray : public XdmfDataDesc {
......
......@@ -24,6 +24,8 @@
/*******************************************************************/
#include "XdmfDataDesc.h"
#include <stdlib.h>
XdmfDataDesc::XdmfDataDesc() {
H5dont_atexit();
this->DataSpace = H5I_BADID;
......
......@@ -25,6 +25,7 @@
#include "XdmfElement.h"
#include "XdmfDOM.h"
#include <libxml/tree.h>
#include <string.h>
#define XDMF_EMPTY_REFERENCE 0x00
#define XDMF_ERROR_REFERENCE -1
......
......@@ -27,6 +27,7 @@
#include "XdmfObject.h"
#include <string.h> // strcmp, strlen, strcpy
// typedef XdmfPointer XdmfXmlNode;
struct _xmlNode;
......
......@@ -23,6 +23,7 @@
/* */
/*******************************************************************/
#include "XdmfObject.h"
#include <string.h>
static XdmfInt32 GlobalDebugFlag = 0;
static XdmfInt64 NameCntr = 0;
......
......@@ -24,6 +24,7 @@
/*******************************************************************/
#include "XdmfRoot.h"
#include "XdmfDOM.h"
#include <stdlib.h>
XdmfRoot::XdmfRoot() {
this->SetElementName("Xdmf");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment