Kaydet (Commit) 897c8af7 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Silence bogus GCC 4.9 -Werror=strict-overflow

Change-Id: Ie116cee9282b3cc73e3bbb9b3fbaa50b1e8e974a
üst 0546e652
......@@ -158,7 +158,16 @@ namespace basegfx
}
else
{
// Silence over-eager warning emitted at least by GCC 4.9.2 in certain
// instantiations:
#if defined __GNUC__ && !defined __clang__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-overflow"
#endif
if(nValue < mnMinimum)
#if defined __GNUC__ && !defined __clang__
#pragma GCC diagnostic pop
#endif
{
mnMinimum = nValue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment