I\'m working on some code that generates a lot of
ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn
You could write a wrapper function
void new_fwrite(a, b, c, d) { if (fwrite (a, b, c, b) != b) throw exception; }
and then replace all calls to fwrite with new_fwrite