View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002383CMakeCMakepublic2005-10-18 09:442005-10-19 10:09
ReporterMathieu Malaterre 
Assigned ToBill Hoffman 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002383: Windows-gcc.cmake CXX -fPIC
DescriptionWindows-gcc.cmake does not override the CXX flags for creating shared lib. It should contains:

SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "") # -pic

Problem reported here:
http://public.kitware.com/GDCM/Testing/Sites/CHIRON.kitwarein/GDCM-Win32-mingw/20051018-0100-Nightly/BuildWarning.html [^]

Building object file gdcmArgMgr.o...
/.../gdcm/src/gdcmArgMgr.cxx:1: warning: -fPIC ignored for target (all code is position independent)
Building object file gdcmBase.o...

The patch was applied locally to Cmake 2.0.6 and it is working.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0003165)
Mathieu Malaterre (developer)
2005-10-19 10:09

Usually when a patch is applied we close the bug...

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team