I'm using Xcode 6.3.2 to compile my application, which depends on JsonCpp. I would like to suppress the large number of warnings that this library generates so I've specified the path to the JsonCpp header using -isystem
as advised in the Clang User Manual
Controlling Diagnostics in System Headers
Warnings are suppressed when they occur in system headers. By default, an included file is treated as a system header if it is found in an include path specified by -isystem, but this can be overridden in several ways.
However, this does not seem to be working as the warnings are still generated. E.g.
json.cpp:352:44: Implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long')
Is there something else I need to set/unset?