On 01/02/14 17:05, Peter Wu wrote:
Hi,
On Thursday 02 January 2014 16:02:08 Jeff Morriss wrote:
It took me a while to get my cmake build going again today; one of the
reasons was that the builds would immediately fail with:
> cc: error: unrecognized command line option -Wshorten-64-to-32
As far as I can tell the problem is simply that check_c_compiler_flag()
isn't working in my version of cmake (2.8.11): it always returns 1. Or
does it not work for others?
I sometimes have this issue too, but it got "fixed" by clearing the build
directory (`rm -rf build`) and then configuring the tree again with cmake.
Oh, weird. I blew away my build directory several times today (for
other reasons) and it never solved this problem. But I tried just now
and it did... Weird!