[cmake-developers] Test for compiler flags ineffective with xlc?

2011-08-11 Thread Stephen Kelly
Hi, In this build log the test for -fvisibility=hidden results in success, but when the flag is used it fails: http://www.cdash.org/CDash/testDetails.php?test=109109951build=1419259 I'm guessing that compiler treats -ffoo as a filename for some reason. Can anything be done about that? Should

Re: [cmake-developers] Test for compiler flags ineffective with xlc?

2011-08-11 Thread Alexander Neundorf
Hi Stephen :-) On Thursday 11 August 2011, Stephen Kelly wrote: Hi, In this build log the test for -fvisibility=hidden results in success, but when the flag is used it fails: http://www.cdash.org/CDash/testDetails.php?test=109109951build=1419259 I'm guessing that compiler treats -ffoo