On 03/11/2015 05:22 PM, Roman Wüger wrote:
> This simple example produces the following error on Mac OS:
> error: cannot initialize a parameter of type 'bool *' with an rvalue of type
> 'void *'
> void doSomething(int n = 1, bool *ok = static_cast(0)) {
> ^~~~
Hi,
tldr; In a C++11 enabled CMake project, is try_compile() supposed to
*not* use -std=c++11 by default?
--- Long(er) version
If I use a minimal CMakeLists.txt file like the one below with gcc and
try_compile() compiles a source file containing C++11 features, I would
naively assume that t
Hi,
In that case, you could have the generator generate a master source file
with a known name that #includes the real generated files. This means that
the generation can have clean dependencies, but does lose any benefits from
parallel make. It also keeps the intrinsic complexity of the generatio
Hello,
I've attached a patch for this problem.
Best Regards
From 3b77b957a41ce00c8e5d8d47ce442887181d669d Mon Sep 17 00:00:00 2001
From: Roman Wüger
Date: Thu, 12 Mar 2015 11:51:24 +0100
Subject: [PATCH] WCDH: Fix cxx_nullptr for compilers which doesn't support
C++11
---
Modules/WriteCompil
Hi,
Take a look also at Michael suggestion,
http://www.cmake.org/pipermail/cmake/2011-November/047333.html
br
L.
Łukasz Tasz
2015-03-11 0:15 GMT+01:00 Mark Abraham :
> Hi,
>
> Sure, this is straightforward to do all at make time, if you're prepared to
> find out what the names of the generated