bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #65537] Werrors from intprops-internal.h with gcc 8.3.0


From: Martin Dorey
Subject: [bug #65537] Werrors from intprops-internal.h with gcc 8.3.0
Date: Fri, 29 Mar 2024 18:36:56 -0400 (EDT)

Follow-up Comment #7, bug #65537 (group make):

[comment #6 comment #6:]
That change on top of t'other Paul's from [comment #3 #3] and without my
maintMakefile change from [comment #1 #1] is sufficient to stop the remaining
warning, thanks.
[comment #5 comment #5:]
> GCC 4.2 and earlier doesn't support "#pragma GCC diagnostic ignored" and
issues a diagnostic about it.
I see it is indeed so:

martind@stormy:~/tmp/make-65537$ cat > diagnostic-ignored.c
#pragma GCC diagnostic ignored "-Wtype-limits"
martind@stormy:~/tmp/make-65537$ gcc-4.3 -c diagnostic-ignored.c
martind@stormy:~/tmp/make-65537$ gcc-4.2 -c diagnostic-ignored.c
diagnostic-ignored.c:1: warning: unknown option after ‘#pragma GCC
diagnostic’ kind
martind@stormy:~/tmp/make-65537$ 

... despite my not spotting any note about it in
https://gcc.gnu.org/gcc-4.3/changes.html.  Apologies for my earlier failure to
understand that the expression was equivalent to how I might have written it:

__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65537>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]