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

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

[patch #9226] ax_check_enable_debug.m4 and ax_code_coverage.m4 both defi


From: anonymous
Subject: [patch #9226] ax_check_enable_debug.m4 and ax_code_coverage.m4 both define NDEBUG
Date: Tue, 17 Jan 2017 16:05:00 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #2, patch #9226 (project autoconf-archive):

If they both defined NDEBUG to the same value (after normalizing whitespace
and removing comments), a standards-compliant compiler would accept it. The
problem is that -DNDEBUG is equivalent to "#define NDEBUG 1", which is not the
same as "#define NDEBUG". Using AC_DEFINE([NDEBUG], [1]) would probably
address this.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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