From: Niels K. B. J. <nk...@us...> - 2014-11-08 02:00:35
|
Update of /cvsroot/ufraw/ufraw In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16958 Modified Files: dcraw.cc Log Message: Suppress compiler warnings from GCC 4.9.x. Index: dcraw.cc =================================================================== RCS file: /cvsroot/ufraw/ufraw/dcraw.cc,v retrieving revision 1.318 retrieving revision 1.319 diff -u -d -r1.318 -r1.319 --- dcraw.cc 24 Aug 2014 02:00:10 -0000 1.318 +++ dcraw.cc 8 Nov 2014 02:00:09 -0000 1.319 @@ -4973,6 +4973,10 @@ } } +#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 8)) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif void CLASS blend_highlights() { unsigned c, j; @@ -5010,6 +5014,9 @@ FORCC image[row*width+col][c] = cam[0][c] / colors; } } +#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 8)) +#pragma GCC diagnostic pop +#endif #define SCALE (4 >> shrink) void CLASS recover_highlights() |