autoconf-archive-maintainers
[Top][All Lists]
Advanced

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

[patch #9452] ax_check_define.m4: Fix error if compiler flags include -W


From: anonymous
Subject: [patch #9452] ax_check_define.m4: Fix error if compiler flags include -Werror=unused
Date: Wed, 13 Sep 2017 09:46:09 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0

URL:
  <http://savannah.gnu.org/patch/?9452>

                 Summary: ax_check_define.m4: Fix error if compiler flags
include -Werror=unused
                 Project: GNU Autoconf Archive
            Submitted by: None
            Submitted on: Wed 13 Sep 2017 01:46:08 PM UTC
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

If the compiler flags include -Werror=unused, compiling the test source in
AX_CHECK_DEFINE fails with a compile error if the define exists, resulting in
AX_CHECK_DEFINE assuming the define is not set.

The attached patch fixes the problem so that AX_CHECK_DEFINE works correctly
when -Werror=unused is used.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 13 Sep 2017 01:46:08 PM UTC  Name: ax_check_define.diff  Size: 455B 
 By: None

<http://savannah.gnu.org/patch/download.php?file_id=41793>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?9452>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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