Commit cef92134 authored by Dominik Charousset's avatar Dominik Charousset

Ignore CURL warnings in examples

parent fc095262
...@@ -41,13 +41,14 @@ ...@@ -41,13 +41,14 @@
#include <random> #include <random>
#include <iostream> #include <iostream>
// libcurl // CAF
#include <curl/curl.h>
// libcaf
#include "caf/all.hpp" #include "caf/all.hpp"
// disable some clang warnings here caused by CURL CAF_PUSH_WARNINGS
#include <curl/curl.h>
CAF_POP_WARNINGS
// disable some clang warnings here caused by CURL macros
#ifdef __clang__ #ifdef __clang__
# pragma clang diagnostic ignored "-Wshorten-64-to-32" # pragma clang diagnostic ignored "-Wshorten-64-to-32"
# pragma clang diagnostic ignored "-Wdisabled-macro-expansion" # pragma clang diagnostic ignored "-Wdisabled-macro-expansion"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment