View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0009639 | CMake | CMake | public | 2009-10-02 04:24 | 2011-06-06 18:25 | ||||
Reporter | Claudio Bley | ||||||||
Assigned To | Bill Hoffman | ||||||||
Priority | normal | Severity | tweak | Reproducibility | N/A | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | CMake 2.8.4 | |||||||
Summary | 0009639: gcc "deprecated conversion from string constant to char*" warnings | ||||||||
Description | I don't like annoying warnings like these: ------------------------------------------------------------------------------ c:/build/CMake/Source/kwsys/SystemTools.cxx: In static member function 'static bool cmsys::SystemTools::WriteRegistryValue(const char*, const char*, cmsys::SystemTools::KeyWOW64)': c:/build/CMake/Source/kwsys/SystemTools.cxx:740: warning: deprecated conversion from string constant to 'CHAR*' [ 2%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/Registry.obj c:/build/CMake/Source/kwsys/Registry.cxx: In member function 'virtual bool cmsys::RegistryHelper::Open(const char*, const char*, int)': c:/build/CMake/Source/kwsys/Registry.cxx:406: warning: deprecated conversion from string constant to 'CHAR*' ... c:/build/CMake/Source/cmGlobalVisualStudioGenerator.cxx: In function 'void WriteVSMacrosFileRegistryEntry(const std::string&, const std::string&, const std::string&)': c:/build/CMake/Source/cmGlobalVisualStudioGenerator.cxx:622: warning: deprecated conversion from string constant to 'CHAR*' [ 46%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmWin32ProcessExecution.obj c:/build/CMake/Source/cmWin32ProcessExecution.cxx: In function 'BOOL RealPopenCreateProcess(const char*, const char*, const char*, void*, void*, void*, void**, bool, std::string&)': c:/build/CMake/Source/cmWin32ProcessExecution.cxx:287: warning: deprecated conversion from string constant to 'char*' ------------------------------------------------------------------------------ The attached patch fixes these warnings. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | cmake_string_conversion_warning.diff [^] (2,756 bytes) 2009-10-02 04:24 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0026689) David Cole (manager) 2011-06-06 18:25 |
Closing resolved issues that have not been updated in more than 3 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2009-10-02 04:24 | Claudio Bley | New Issue | |
2009-10-02 04:24 | Claudio Bley | File Added: cmake_string_conversion_warning.diff | |
2010-12-15 09:07 | David Cole | Status | new => assigned |
2010-12-15 09:07 | David Cole | Assigned To | => Bill Hoffman |
2011-02-03 18:23 | David Cole | Status | assigned => resolved |
2011-02-03 18:23 | David Cole | Fixed in Version | => CMake 2.8.4 |
2011-02-03 18:23 | David Cole | Resolution | open => fixed |
2011-06-06 18:25 | David Cole | Status | resolved => closed |
2011-06-06 18:25 | David Cole | Note Added: 0026689 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |