Skip to content
Snippets Groups Projects
Commit c54d102c authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

Wrap #pragma clang in #if __clang__, else VS produces fatal warnings.

parent cfbc982b
No related branches found
No related tags found
No related merge requests found
......@@ -75,10 +75,14 @@ namespace tut
// overloads declared above.
// turn off warnings about unused functions from clang for tut package
#if __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-function"
#endif
#include <tut/tut.hpp>
#if __clang__
#pragma clang diagnostic pop
#endif
// The functions BELOW this point actually consume tut.hpp functionality.
namespace tut
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment