From: jpr Date: Wed, 26 Oct 2005 13:16:45 +0000 (+0000) Subject: Should avoid compile error or dash8.kitware/GDCM-g++-64bits X-Git-Tag: OpenJPEG.Version1.2~147 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=ba9886507166e82467379bd5787291a575aaaf06;p=gdcm.git Should avoid compile error or dash8.kitware/GDCM-g++-64bits > //memcpy(BinArea, &(value[0]), l); > memcpy(BinArea, value.c_str(), l); Message was : /.../gdcm/src/gdcmDataEntry.cxx:382: non-lvalue in unary `&' ?!? --- diff --git a/src/gdcmPixelReadConvert.cxx b/src/gdcmPixelReadConvert.cxx index 19317dbf..efe00f20 100644 --- a/src/gdcmPixelReadConvert.cxx +++ b/src/gdcmPixelReadConvert.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmPixelReadConvert.cxx,v $ Language: C++ - Date: $Date: 2005/10/26 07:15:31 $ - Version: $Revision: 1.90 $ + Date: $Date: 2005/10/26 13:16:45 $ + Version: $Revision: 1.91 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -126,7 +126,7 @@ void PixelReadConvert::GrabInformationsFromFile( File *file ) } else { - std::string ts = file->GetTransferSyntax(); + std::string ts = file->GetTransferSyntax(); // if ( ts == GDCM_UNKNOWN )