[cmake-developers] [CMake 0015426]: Segfault/assertion for invalid/unknown <LANG>_STANDARD

Mantis Bug Tracker mantis at public.kitware.com
Fri Feb 27 16:22:34 EST 2015


The following issue has been SUBMITTED. 
====================================================================== 
https://public.kitware.com/Bug/view.php?id=15426 
====================================================================== 
Reported By:                Nils Gladitz
Assigned To:                Stephen Kelly
====================================================================== 
Project:                    CMake
Issue ID:                   15426
Category:                   (No Category)
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2015-02-27 16:22 EST
Last Modified:              2015-02-27 16:22 EST
====================================================================== 
Summary:                    Segfault/assertion for invalid/unknown
<LANG>_STANDARD
Description: 
Setting the <LANG>_STANDARD property to an invalid/unknown value results in
segfault (release) or assertion (debug).

Steps to Reproduce: 
cmake_minimum_required(VERSION 3.2)

project(Foo CXX)

set(CMAKE_CXX_STANDARD "foobar")

file(WRITE foo.cpp)
add_library(foo STATIC foo.cpp)

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-02-27 16:22 Nils Gladitz   New Issue                                    
2015-02-27 16:22 Nils Gladitz   Status                   new => assigned     
2015-02-27 16:22 Nils Gladitz   Assigned To               => Stephen Kelly   
======================================================================



More information about the cmake-developers mailing list