X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Testing%2Fdynmodule.cxx;h=92e8a574c3e7f9931e34b061db98cb4329a2a6cc;hb=4552d4ee18f3234af4e037e77abf0622c2702004;hp=977725466b569312d87604cb6527fdf689614f1d;hpb=662eabb8c68375a3ddcb2dc313432e5bd08eab77;p=gdcm.git diff --git a/Testing/dynmodule.cxx b/Testing/dynmodule.cxx index 97772546..92e8a574 100644 --- a/Testing/dynmodule.cxx +++ b/Testing/dynmodule.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: dynmodule.cxx,v $ Language: C++ - Date: $Date: 2005/11/03 16:19:57 $ - Version: $Revision: 1.2 $ + Date: $Date: 2008/09/15 15:49:21 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -30,7 +30,8 @@ extern "C" __ELX_DLLEXPORT void afunc(void) // Create an instance of a gdcm class. This makes sure // that the problematic gdcm-library is linked. - gdcm::File *file = gdcm::File::New(); + GDCM_NAME_SPACE::File *file = GDCM_NAME_SPACE::File::New(); + file->SetLoadMode(0); // To avoid warning std::cerr << "End of function afunc" << std::endl;