|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #60316] New warnings, errors showing up during compilation |
Date: | Tue, 6 Apr 2021 02:28:46 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36 Edg/89.0.774.68 |
Follow-up Comment #19, bug #60316 (project octave): In their test function, gnulib has the following: https://git.savannah.gnu.org/cgit/gnulib.git/tree/tests/test-intprops.c?id=5ccd7e60ad475b481144437c8e4037a56f32e4a0#n19 /* Tell gcc not to warn about the long expressions that the overflow macros expand to, or about the (X < 0) expressions. */ #if 4 < __GNUC__ + (3 <= __GNUC_MINOR__) # pragma GCC diagnostic ignored "-Woverlength-strings" # pragma GCC diagnostic ignored "-Wtype-limits" /* Work around a bug in GCC 6.1 and earlier; see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68971 */ # pragma GCC diagnostic ignored "-Woverflow" #endif I'm not exactly sure why they guard those pragmas with that particular condition. Maybe older gcc version (or other compilers) fail to understand them? Do we still support gcc 4.3 or older? If we would like to make the change even more specific, we could also limit to gcc until version 6.1. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60316> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |