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

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

GNU Autoconf Archive branch master updated. v2016.09.16-8-g8a6b028


From: E-mail notifications for the Autoconf Archive git repository.
Subject: GNU Autoconf Archive branch master updated. v2016.09.16-8-g8a6b028
Date: Sat, 1 Oct 2016 17:41:00 +0000 (UTC)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf Archive".

The branch, master has been updated
       via  8a6b028ace641df4458f575f93c4fa48ec98499c (commit)
       via  6f24b1094fd88e7960ef0558527a650da79988af (commit)
      from  4d76de5ad657ed433f73cf4cc3683d358240ed79 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8a6b028ace641df4458f575f93c4fa48ec98499c
Merge: 4d76de5 6f24b10
Author: Peter Simons <address@hidden>
Date:   Sat Oct 1 19:40:32 2016 +0200

    Merge pull request #96 from smcv/compiler-flags-inf-recursion
    
    ax_compiler_flags_*: fix underquoting causing infinite recursion

commit 6f24b1094fd88e7960ef0558527a650da79988af
Author: Simon McVittie <address@hidden>
Date:   Sat Oct 1 14:46:24 2016 +0100

    ax_compiler_flags_*: fix underquoting causing infinite recursion
    
    These macros would fail with infinite recursion if used twice for the
    same variable, for example
    
        AX_COMPILER_FLAGS_CFLAGS([WARN_CFLAGS], ... some options ...)
        AX_COMPILER_FLAGS_CFLAGS([WARN_CFLAGS], ... more options ...)
    
    In particular, invoking AX_COMPILER_FLAGS, followed by
    AX_COMPILER_FLAGS_CFLAGS with more "yes" options has this failure mode.
    
    This is because the first time through the macro, we define
    ax_warn_cflags_variable = "WARN_CFLAGS" as expected. The second time,
    because the first parameter is underquoted, its value is substituted
    before calling m4_define, so we inadvertently define
    WARN_CFLAGS = "WARN_CFLAGS". The next time WARN_CFLAGS is mentioned,
    attempts to expand it will recurse forever, because m4 does not
    special-case a macro that appears in its own expansion like cpp does.
    
    Signed-off-by: Simon McVittie <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 m4/ax_compiler_flags_cflags.m4   |    4 ++--
 m4/ax_compiler_flags_cxxflags.m4 |    4 ++--
 m4/ax_compiler_flags_gir.m4      |    4 ++--
 m4/ax_compiler_flags_ldflags.m4  |    4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
GNU Autoconf Archive



reply via email to

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