Date: Mon, 08 Mar 2021 18:16:31 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 254138] devel/cmake: aborts if CMAKE_CXX_STANDARD is set to empty Message-ID: <bug-254138-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254138 Bug ID: 254138 Summary: devel/cmake: aborts if CMAKE_CXX_STANDARD is set to empty Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: emaste@freebsd.org Assignee: kde@FreeBSD.org Flags: maintainer-feedback?(kde@FreeBSD.org) While trying to convert a CI config for some 3rd party software I ended up accidentally setting -DCMAKE_CXX_STANDARD=3D (i.e., nothing). cmake ought to emit a useful error message for this case, but instead just aborts: $ cmake -GNinja -DCMAKE_CXX_STANDARD=3D .. -- The CXX compiler identification is Clang 11.0.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done Abort trap (core dumped) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254138-7788>