1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0026780: Coding rules - eliminate warnings on Linux and Mac

Fixed a few remaining warnings found by GCC, CLang, and VC++ 14 (recent changes)
This commit is contained in:
abv
2015-11-11 09:32:41 +03:00
parent 7dc2c1656a
commit f2139a7f0f
9 changed files with 41 additions and 46 deletions

View File

@@ -68,7 +68,7 @@
#define OCC_CATCH_SIGNALS
// Suppress GCC warning "variable ... might be clobbered by 'longjmp' or 'vfork'"
#ifdef __GNUC__
#if defined(__GNUC__) && ! defined(__INTEL_COMPILER) && ! defined(__clang__)
#pragma GCC diagnostic ignored "-Wclobbered"
#endif
@@ -83,7 +83,7 @@
}
// Suppress GCC warning "variable ... might be clobbered by 'longjmp' or 'vfork'"
#ifdef __GNUC__
#if defined(__GNUC__) && ! defined(__INTEL_COMPILER) && ! defined(__clang__)
#pragma GCC diagnostic ignored "-Wclobbered"
#endif