Fixing GCC 4.9 compilation issues

This commit is contained in:
Jean-François Verdon
2021-05-22 16:57:07 +02:00
parent 92b8c02982
commit b7b3c6db7e
2 changed files with 10 additions and 0 deletions
+2
View File
@@ -58,7 +58,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma clang diagnostic ignored "-Wsign-compare"
#elif defined(__GNUC__)
#pragma GCC diagnostic push
#if (__GNUC__ > 4)
#pragma GCC diagnostic ignored "-Wbool-compare"
#endif
#pragma GCC diagnostic ignored "-Wsign-compare"
#endif