View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015426CMake(No Category)public2015-02-27 16:222015-03-02 08:53
ReporterNils Gladitz 
Assigned ToBrad King 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 3.2 
Target VersionCMake 3.2Fixed in VersionCMake 3.2 
Summary0015426: Segfault/assertion for invalid/unknown <LANG>_STANDARD
DescriptionSetting the <LANG>_STANDARD property to an invalid/unknown value results in segfault (release) or assertion (debug).
Steps To Reproducecmake_minimum_required(VERSION 3.2)

project(Foo CXX)

set(CMAKE_CXX_STANDARD "foobar")

file(WRITE foo.cpp)
add_library(foo STATIC foo.cpp)
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0038099)
Brad King (manager)
2015-02-27 16:50
edited on: 2015-02-28 12:17

Fixed:

 Diagnose invalid <LANG>_STANDARD value instead of crashing
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=00d66557 [^]

(0038101)
Nils Gladitz (developer)
2015-03-02 08:53

Works for me. Thanks!

 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
2015-02-27 16:26 Brad King Target Version => CMake 3.2
2015-02-27 16:50 Brad King Note Added: 0038099
2015-02-28 12:17 Brad King Note Edited: 0038099
2015-03-02 08:39 Brad King Assigned To Stephen Kelly => Brad King
2015-03-02 08:39 Brad King Status assigned => resolved
2015-03-02 08:39 Brad King Resolution open => fixed
2015-03-02 08:39 Brad King Fixed in Version => CMake 3.2
2015-03-02 08:53 Nils Gladitz Note Added: 0038101
2015-03-02 08:53 Nils Gladitz Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team