X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Doc%2FWebsite%2FCodingStyle.html;h=53910bb9ebeef6e3b39c46ede0de282d65d051c4;hb=a29372bd2461600cd7a4c762082bc43aea70058f;hp=9cb6926c51c8c5b7b02bb960a44505c324fb8714;hpb=c460dc75a10d96fc38011db90fae5bcd8649b743;p=gdcm.git diff --git a/Doc/Website/CodingStyle.html b/Doc/Website/CodingStyle.html index 9cb6926c..53910bb9 100644 --- a/Doc/Website/CodingStyle.html +++ b/Doc/Website/CodingStyle.html @@ -240,6 +240,8 @@ - Only the C++ standard library and the STL includes should be used. When including don't use the .h extension (use #include instead of #include ). + Note: include the stl header AFTER the gdcm ones (otherwise pragma + warnings won't work). - Don't use the C standard library. Don't include stdio.h, ctype.h... Don't use printf(), sprinf(), FILE*... - Don't use the NULL notation (either as macro, or as const int NULL=0). @@ -277,7 +279,7 @@ long long -> int64_t; Hence do not use declarations like "unsigned int". With g++, accessing those typedef is achieved by the following - #include + #include < stdint.h >