From d22cf6e596c3337ef22396402393e4f0071ad98c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Thu, 30 Aug 2018 10:13:56 +0200 Subject: [PATCH 1/3] AppVeyor CI: Disable CMake dev warnings --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 83a73b4..6d9fe58 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -24,7 +24,7 @@ before_build: if ($env:GENERATOR) { if (!(test-path build)) { mkdir build } cd build - cmake -G "$env:GENERATOR" .. -DBUILD_SHARED_LIBS=ON -DEVMC_EXAMPLES=ON -DEVMC_TESTING=ON -DCMAKE_INSTALL_PREFIX=C:\install + cmake -Wno-dev -G "$env:GENERATOR" .. -DBUILD_SHARED_LIBS=ON -DEVMC_EXAMPLES=ON -DEVMC_TESTING=ON -DCMAKE_INSTALL_PREFIX=C:\install } build_script: From a889442d6abb759048113b9e71a8b579efc8d8bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Thu, 30 Aug 2018 11:09:00 +0200 Subject: [PATCH 2/3] loader: Fix compilation on Windows with GCC --- lib/loader/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/loader/loader.c b/lib/loader/loader.c index 252b6e6..76abd90 100644 --- a/lib/loader/loader.c +++ b/lib/loader/loader.c @@ -16,7 +16,7 @@ #define DLL_HANDLE HMODULE #define DLL_OPEN(filename) LoadLibrary(filename) #define DLL_CLOSE(handle) FreeLibrary(handle) -#define DLL_GET_CREATE_FN(handle, name) (evmc_create_fn) GetProcAddress(handle, name) +#define DLL_GET_CREATE_FN(handle, name) (evmc_create_fn)(uintptr_t) GetProcAddress(handle, name) #define HAVE_STRCPY_S 1 #else #include From 04423b62dd7973dfb341191420d4d57a32b60383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Thu, 30 Aug 2018 11:15:16 +0200 Subject: [PATCH 3/3] Upgrade Hunter to 0.23.4 This change tries to refresh AppVeyor cache. --- cmake/HunterConfig.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/HunterConfig.cmake b/cmake/HunterConfig.cmake index 403358a..385dd2b 100644 --- a/cmake/HunterConfig.cmake +++ b/cmake/HunterConfig.cmake @@ -6,6 +6,6 @@ # Hunter is going to be initialized only if building with tests, # where it is needed to get dependencies. HunterGate( - URL "https://github.com/ruslo/hunter/archive/v0.22.23.tar.gz" - SHA1 "16c562a69489ff9c1b5266a12d5e903084de693a" + URL "https://github.com/ruslo/hunter/archive/v0.23.4.tar.gz" + SHA1 "8b2255921208517a55c9533c500131387e3c3dd0" )