[patch #9243] Only use -Wno-suggest-attribute=format if compiler supports it

anonymous <[email protected]> Mon, 30 Jan 2017 18:40:33 +0000 (UTC)
Newsgroups gmane.comp.sysutils.autoconf.archive-maintainers
Message-ID <[email protected]>
URL:
  <http://savannah.gnu.org/patch/?9243>

                 Summary: Only use -Wno-suggest-attribute=format if compiler
supports it
                 Project: GNU Autoconf Archive
            Submitted by: None
            Submitted on: Mon 30 Jan 2017 06:40:32 PM UTC
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: [email protected]
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The attached patch modifies m4/ax_compiler_flags_{cflags,cxxflags}.m4
to check for the availability of the -Wno-suggest-attribute=format
compiler option instead of unconditionally using it.

Found on OpenBSD.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 30 Jan 2017 06:40:32 PM UTC  Name: autoconf-archive-patch.diff 
Size: 2kB   By: None
Thanks to [email protected] for pointing me here.
<http://savannah.gnu.org/patch/download.php?file_id=39613>

    _______________________________________________________

Reply to this item at:

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

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