]> Creatis software - gdcm.git/commitdiff
Memo for gcc flags added.
authorfrog <frog>
Mon, 23 Aug 2004 08:37:28 +0000 (08:37 +0000)
committerfrog <frog>
Mon, 23 Aug 2004 08:37:28 +0000 (08:37 +0000)
DEVELOPPER

index fd8a67964977e52c0eae3955c520a58f77b13ed1..37af3d44ff705aba8fcbae223ecf9599344bb49b 100644 (file)
@@ -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).
+------------------------------------------------