From a5477cb88aa763acdea8f3fbd6e58d70cec8f42e Mon Sep 17 00:00:00 2001 From: frog Date: Mon, 23 Aug 2004 08:37:28 +0000 Subject: [PATCH] Memo for gcc flags added. --- DEVELOPPER | 9 +++++++++ 1 file changed, 9 insertions(+) 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). +------------------------------------------------ -- 2.45.1