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 ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers