X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmUtil.cxx;h=ec86bb6ea74d7ef3ca874d6b254db6cb6118f6ab;hb=900c8b2d6c78b925b07a48fc4f233659cc00faf8;hp=82b0e570db4aa6343f90ab9ca1d899cfb5dba58c;hpb=7589d23967892c94462e22a49ec50fcd225c5c38;p=gdcm.git diff --git a/src/gdcmUtil.cxx b/src/gdcmUtil.cxx index 82b0e570..ec86bb6e 100644 --- a/src/gdcmUtil.cxx +++ b/src/gdcmUtil.cxx @@ -1,4 +1,14 @@ -// $Header: /cvs/public/gdcm/src/gdcmUtil.cxx,v 1.14 2003/07/01 10:04:36 frog Exp $ +// $Header: /cvs/public/gdcm/src/gdcmUtil.cxx,v 1.17 2003/09/19 15:36:05 malaterre Exp $ + +//This is needed when compiling in debug mode +#ifdef _MSC_VER +// 'identifier' : class 'type' needs to have dll-interface to be used by +// clients of class 'type2' +#pragma warning ( disable : 4251 ) +// 'identifier' : identifier was truncated to 'number' characters in the +// debug information +#pragma warning ( disable : 4786 ) +#endif //_MSC_VER #include #include // For isspace @@ -57,7 +67,7 @@ gdcmGlobal gdcmGlob; gdcmGlobal::gdcmGlobal(void) { if (VR || TS || Dicts) - dbg.Verbose(0, "gdcmGlobal::gdcmGlobal : VR or TS or Dicts allready allocated"); + dbg.Verbose(0, "gdcmGlobal::gdcmGlobal : VR or TS or Dicts already allocated"); VR = new gdcmVR(); TS = new gdcmTS(); Dicts = new gdcmDictSet(); @@ -129,7 +139,7 @@ char * _cleanString(char *v) { /////////////////////////////////////////////////////////////////////////// // to prevent a flashing screen when non-printable character -char * _CreateCleanString(string s) { +/*char * _CreateCleanString(string s) { char *d, *di, *v; int i, l; v=(char*)s.c_str(); @@ -142,7 +152,7 @@ char * _CreateCleanString(string s) { *di = '.'; } return d; -} +}*/ /////////////////////////////////////////////////////////////////////////// //