Re: [cmake-developers] Unexpected bad status for file DOWNLOAD for http://*.xz URLs

2013-07-12 Thread Christopher Sean Morrison
On Jul 12, 2013, at 4:27 PM, David Cole wrote: It’s a bad bad really bad idea to make the build of OpenSSL “in-house” as you’ve been calling it... CMake SHOULD use the system openssl for distributions that have one already. I must have missed where ignoring a system version was implied.

Re: [cmake-developers] CheckSymbolExists.cmake

2013-06-06 Thread Christopher Sean Morrison
On Jun 6, 2013, at 9:26 AM, Brad King wrote: On 06/05/2013 05:33 PM, Christopher Sean Morrison wrote: union t { void (*fn)(); char val[8]; } a = {0}; a.fn = (void (*)())printf; Yes, if we know the symbol is a function, but it could be data too. That's why the name CheckSymbolExists

Re: [cmake-developers] CheckSymbolExists.cmake

2013-06-05 Thread Christopher Sean Morrison
On Jun 04, 2013, at 04:17 PM, Brad King brad.k...@kitware.com wrote:The discussion that led to that change was here: http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/2523/focus=2530The predicating problem is curious. If a pthreads library was no longer being detected, that would

Re: [cmake-developers] CheckSymbolExists.cmake

2013-06-05 Thread Christopher Sean Morrison
On Jun 05, 2013, at 02:57 PM, Rolf Eike Beer e...@sf-mail.de wrote: It possible to quell that conversion warning. Perhaps something like this: ((char *)(long)SYMBOL)[argc] + 1 This will cause errors on those platforms where long and void* are not the same size, i.e. Windows64.Yes, uintptr_t

Re: [cmake-developers] CheckSymbolExists.cmake

2013-06-05 Thread Christopher Sean Morrison
On Jun 05, 2013, at 04:10 PM, Brad King brad.k...@kitware.com wrote:On 06/05/2013 03:16 PM, Christopher Sean Morrison wrote: getting past GCC's pedantic point about direct type conversion. If the user tests with -Werror that warning could be a problem, so that flag is worth stripping

Re: [cmake-developers] CheckSymbolExists.cmake

2013-06-05 Thread Christopher Sean Morrison
On Jun 05, 2013, at 04:14 PM, Brad King brad.k...@kitware.com wrote:Before working on a patch, can you explain why the current check is "practically useless"?I actually don't see the function in the current tree. Maybe someone else already realized how bad it was.. ;)Looks like it was maybe

[cmake-developers] Fwd: CheckSymbolExists.cmake

2013-06-04 Thread Christopher Sean Morrison
to test. Begin forwarded message: From: Rolf Eike Beer e...@sf-mail.de Date: June 4, 2013 12:54:05 PM EDT To: Christopher Sean Morrison brl...@mac.com Subject: Re: CheckSymbolExists.cmake Am Dienstag, 4. Juni 2013, 01:27:50 schrieb Christopher Sean Morrison: Rolf, Your commit

Re: [cmake-developers] CheckSymbolExists.cmake

2013-06-04 Thread Christopher Sean Morrison
to test. Begin forwarded message: From: Rolf Eike Beer e...@sf-mail.de Date: June 4, 2013 12:54:05 PM EDT To: Christopher Sean Morrison brl...@mac.com Subject: Re: CheckSymbolExists.cmake Am Dienstag, 4. Juni 2013, 01:27:50 schrieb Christopher Sean Morrison: Rolf, Your commit