[cmake-developers] [CMake 0015311]: CMAKE_CXX_KNOWN_FEATURES variable documentation should be corrected
Mantis Bug Tracker
mantis at public.kitware.com
Tue Dec 16 14:46:05 EST 2014
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=15311
======================================================================
Reported By: Paweł Stankowski
Assigned To:
======================================================================
Project: CMake
Issue ID: 15311
Category: CMake
Reproducibility: always
Severity: text
Priority: high
Status: new
======================================================================
Date Submitted: 2014-12-16 14:46 EST
Last Modified: 2014-12-16 14:46 EST
======================================================================
Summary: CMAKE_CXX_KNOWN_FEATURES variable documentation
should be corrected
Description:
CMake 3.1 documentation available at www.cmake.org contains reference to
obsolete documentation of override control features. According to
[[http://msdn.microsoft.com/en-us/library/hh567368.aspx|http://msdn.microsoft.com/en-us/library/hh567368.aspx]],
final version of override control in C++11 is based on changes from N3206 and
N3272 documents. It means that defining \[\[hiding\]\],\[\[override\]\] and
other attributes and hiding control are not part of C++11 Standard.
Current CMake documentation:
cxx_final
Override control final keyword, as defined in N2928.
cxx_override
Override control override keyword, as defined in N2928.
Even CMake unit tests Tests/CompileFeatures/cxx_{final,override}.cpp check only
for 'override' keyword support, and not for attributes support from N2928.
There is a bug in GCC site, which potencially could be a reason for this one.
[[https://gcc.gnu.org/gcc-4.7/changes.html|GCC 4.7 changes page]] contains an
example of usage for 'override' keyword (and not attribute), but
[[https://gcc.gnu.org/gcc-4.7/cxx0x_status.html|Status of Experimental C++11
Support in GCC 4.7]] page lists only proposal N2928 as the one being
implemented. This bug was fixed at general
[[https://gcc.gnu.org/projects/cxx0x.html|C++0x/C++11 Support in GCC]] page.
Btw: Support for C++11 attribute syntax was added in
[[https://gcc.gnu.org/gcc-4.8/changes.html|g++ 4.8]].
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-12-16 14:46 Paweł StankowskiNew Issue
======================================================================
More information about the cmake-developers
mailing list