[patch #9226] ax_check_enable_debug.m4 and ax_code_coverage.m4 both define NDEBUG

anonymous <[email protected]> Tue, 17 Jan 2017 12:30:20 +0000 (UTC)
Newsgroups gmane.comp.sysutils.autoconf.archive-maintainers
Message-ID <[email protected]>
URL:
  <http://savannah.gnu.org/patch/?9226>

                 Summary: ax_check_enable_debug.m4 and ax_code_coverage.m4
both define NDEBUG
                 Project: GNU Autoconf Archive
            Submitted by: None
            Submitted on: Tue 17 Jan 2017 12:30:18 PM UTC
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: [email protected]
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Both ax_check_enable_debug.m4 and ax_code_coverage.m4 define NDEBUG, which
leads to a warning.

If ax_compiler_flags.m4 is also used, -Werror is the default and it leads to
the following build failure:

  ./config.h:38:0: error: "NDEBUG" redefined [-Werror]




    _______________________________________________________

Reply to this item at:

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

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