I am familiar with warning suppressing pragmas for GCC and Keil (they are different, but the usage is pretty much the same). For a third-party headers I can do something like this:
#pragma push
#pragma suppress warning
#include "whatever.h"
#pragma pop
But how can I suppress warnings from third-party sources? Both Eclipse+GCC and Keil generate them. The only solution I came up is making whapper .c-file, which will include other .c files, which seems to be very dirty trick.
Are there any other solutions?