From: frog Date: Mon, 23 Aug 2004 08:37:28 +0000 (+0000) Subject: Memo for gcc flags added. X-Git-Tag: Version0.5.bp~11 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=a5477cb88aa763acdea8f3fbd6e58d70cec8f42e;p=gdcm.git Memo for gcc flags added. --- diff --git a/DEVELOPPER b/DEVELOPPER index fd8a6796..37af3d44 100644 --- a/DEVELOPPER +++ b/DEVELOPPER @@ -20,6 +20,11 @@ The following comments are intended for core gdcm developpers. -- GDCM_VTK When this option is on VTK_DIR might require manual configuration -- GDCM_WRAP_PYTHON + -- CMAKE_CXX_FLAGS (when working with gcc of course) should be set to + -g -O0 -Wall -W -Wshadow -Wunused-variable -Wunused-parameter + -Wunused-function -Wunused -Wno-system-headers -Wno-deprecated + -Woverloaded-virtual + (this is to avoid spurious problems with overloading) * Configure cmake: hit c * Generate the makefiles (or dsw): hit g - Compile gdcm @@ -374,3 +379,7 @@ CVS policy * you can start a single test through ctest with ctest -R FailingTestName -V >& log ------------------------------------------------ +Compiler flags policy: + When working with gcc please use the flags specified in DEVELOPPER file + (in order to avoid difficult overloading problems). +------------------------------------------------