Re: [cmake-developers] Probable bug in message output from Modules/Platform/CYGWIN.cmake

2015-04-29 Thread Brad King
On 04/28/2015 05:54 PM, Alan W. Irwin wrote: notice there is no mention of such ordering in the CMake documentation of cmake_minimum_required() and project(), and I hope you will be willing to fix that documentation Help: Document that cmake_minimum_required should be called first

Re: [cmake-developers] Probable bug in message output from Modules/Platform/CYGWIN.cmake

2015-04-29 Thread Stephen Kelly
Alan W. Irwin wrote: On 2015-04-28 14:54-0700 Alan W. Irwin wrote: Also, a spurious warning is probably not that big a deal, but if you think the incorrect order of project(...) before cmake_minimum_required(...) could lead to more serious issues now or in the future as Platform code gets

Re: [cmake-developers] Probable bug in message output from Modules/Platform/CYGWIN.cmake

2015-04-28 Thread Alan W. Irwin
On 2015-04-28 14:22-0400 Brad King wrote: On 04/27/2015 05:53 PM, Alan W. Irwin wrote: Anybody here got a clue about what is going on? Please strip it down to a minimal example. That will either find the culprit or provide a test case we can use independently. Hi Brad: The problem is I

Re: [cmake-developers] Probable bug in message output from Modules/Platform/CYGWIN.cmake

2015-04-28 Thread Brad King
On 04/28/2015 04:15 PM, Alan W. Irwin wrote: The problem is I am reporting the problem second-hand, and I don't have access to a Cygwin platform myself. But from the report I received the incorrect warning message occurs each time a different compiler is enabled. The patch to plplot below

Re: [cmake-developers] Probable bug in message output from Modules/Platform/CYGWIN.cmake

2015-04-28 Thread Alan W. Irwin
On 2015-04-28 16:44-0400 Brad King wrote: On 04/28/2015 04:15 PM, Alan W. Irwin wrote: The problem is I am reporting the problem second-hand, and I don't have access to a Cygwin platform myself. But from the report I received the incorrect warning message occurs each time a different compiler

Re: [cmake-developers] Probable bug in message output from Modules/Platform/CYGWIN.cmake

2015-04-28 Thread Brad King
On 04/27/2015 05:53 PM, Alan W. Irwin wrote: Anybody here got a clue about what is going on? Please strip it down to a minimal example. That will either find the culprit or provide a test case we can use independently. Thanks, -Brad -- Powered by www.kitware.com Please keep messages

[cmake-developers] Probable bug in message output from Modules/Platform/CYGWIN.cmake

2015-04-27 Thread Alan W. Irwin
PLplot currently uses cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR) Yet one of the PLplot developers gets the following incorrect warning message on Cygwin: CMake Warning at /usr/share/cmake-3.1.2/Modules/Platform/CYGWIN.cmake:15 (message): CMake no longer defines WIN32 on Cygwin!