curl-library
CMake: fix for Windows x64 build with MSVS Compiler
From: tetetest tetetest <tetetest_at_rambler.ru>
Date: Wed, 28 Mar 2012 12:34:16 +0400
Received on 2012-03-28
Date: Wed, 28 Mar 2012 12:34:16 +0400
Hello,
There is a strange bug in MS Visual Studio 2010 for x64 compiler: while
it readily accepts 'ULL' as a valid suffix for unsigned long long
literals,
it rejects 'LLU'.
The bug is strange because both 'ULL' and 'LLU' suffixes are okay for
the 32-bit compiler that comes along with the x64 one.
Other compilers (GCC, Intel ICC) accept both forms.
Please find attached a small patch that enables compiling libcurl with
MS VS x64 Compiler.
-- Regards, Tetetest.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- text/x-diff attachment: CMake_Win64_ULL_fix.patch