texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Gavin D. Smith
Date: Tue, 15 Aug 2023 09:01:09 -0400 (EDT)

branch: master
commit 1389b2c42968da61cf907401d7af4256e29cbaef
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Tue Aug 15 14:00:25 2023 +0100

    * README-hacking: update suggested configure invocation to
    disable some unneeded warnings
---
 ChangeLog      | 5 +++++
 README-hacking | 5 +++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7e3dfbffa8..4526dbfe99 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-08-15  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * README-hacking: update suggested configure invocation to
+       disable some unneeded warnings
+
 2023-08-15  Gavin Smith <gavinsmith0123@gmail.com>
 
        parsetexi compiler warnings
diff --git a/README-hacking b/README-hacking
index 897f07fa6a..b9a62d1243 100644
--- a/README-hacking
+++ b/README-hacking
@@ -243,8 +243,9 @@ Manual testing:
 
 check for C compiler warnings by configuring with
 
-  ./configure CFLAGS='-Wall -Wdeclaration-after-statement' \
-              PERL_EXT_CFLAGS='-Wall -Wdeclaration-after-statement'
+our_CFLAGS='-Wall -Wdeclaration-after-statement -Wno-parentheses 
-Wno-missing-braces'
+./configure "CFLAGS=$our_CFLAGS" "PERL_EXT_CFLAGS=$our_CFLAGS"
+unset our_CFLAGS
 
 -Wdeclaration-after-statement is useful because a) intermixing
 declarations with statements is an easy thing to do accidentally,



reply via email to

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