X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FexExtractSegmentedPalette.cxx;h=2284ebf79af7e9e83f6b8a9e95c96289dec6a737;hb=d37154e4495e1e1c18c44f6cae6ef2ff8a2891cf;hp=6d5ddf3a1441803b7dd0ee566b7ccf844a7433bb;hpb=5bf767b4fea54c06ce8be340bb54ce1ba654baea;p=gdcm.git diff --git a/Example/exExtractSegmentedPalette.cxx b/Example/exExtractSegmentedPalette.cxx index 6d5ddf3a..2284ebf7 100644 --- a/Example/exExtractSegmentedPalette.cxx +++ b/Example/exExtractSegmentedPalette.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: exExtractSegmentedPalette.cxx,v $ Language: C++ - Date: $Date: 2007/10/03 08:46:02 $ - Version: $Revision: 1.1 $ + Date: $Date: 2007/10/03 08:50:48 $ + Version: $Revision: 1.2 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -19,6 +19,11 @@ #include // Ref: // http://blog.goo.ne.jp/satomi_takeo/e/3643e5249b2a9650f9e10ef1c830e8b8 +// I bet the code was compiled on VS6. Make it compile on other platform: +// * typedef are not inherited +// * need to explicitely add typename keyword +// * Uint8 / Uint16 are neither C nor C++ +// * replace all dcmtk code with identical gdcm code #include #include