[cmake-developers] [CMake 0016042]: WriteCompilerDetectionHeader does not define YARP_DEFAULTED_FUNCTION
Mantis Bug Tracker
mantis at public.kitware.com
Thu Mar 31 11:28:46 EDT 2016
The following issue has been SUBMITTED.
======================================================================
https://cmake.org/Bug/view.php?id=16042
======================================================================
Reported By: Daniele E. Domenichelli
Assigned To:
======================================================================
Project: CMake
Issue ID: 16042
Category: Modules
Reproducibility: always
Severity: feature
Priority: normal
Status: new
======================================================================
Date Submitted: 2016-03-31 17:28 CEST
Last Modified: 2016-03-31 17:28 CEST
======================================================================
Summary: WriteCompilerDetectionHeader does not define
YARP_DEFAULTED_FUNCTION
Description:
write_compiler_detection_header(
FILE "${CMAKE_CURRENT_BINARY_DIR}/compiler_detection.h"
PREFIX FOO
COMPILERS
GNU
FEATURES
cxx_deleted_functions
cxx_defaulted_functions)
Generates the following defines
* YARP_DELETED_FUNCTION ("= delete" or empty if not supported)
I'd expect to see YARP_DEFAULTED_FUNCTION defined in this way (or something
similar):
* YARP_DEFAULTED_FUNCTION ("= default" or "{}" if not supported)
Is there some drawback in doing so?
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2016-03-31 17:28 Daniele E. DomenichelliNew Issue
======================================================================
More information about the cmake-developers
mailing list