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

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

Unbalanced AC_LANG_PUSH / POP with ax_check_x86_features / ax_gcc_x86_cp


From: Kip Warner
Subject: Unbalanced AC_LANG_PUSH / POP with ax_check_x86_features / ax_gcc_x86_cpu_supports
Date: Fri, 18 Aug 2017 19:11:08 -0700

Hey list,

My configure.ac sets AC_LANG([C++]). I conduct a variety of tests, both
before and after running AX_CHECK_X86_FEATURES. 

I noticed, however, that after inserting this latter test the
subsequent ones which depend on a C++ compiler fail, such as
AC_CHECK_HEADERS([cassert]). 

I did a little bit of digging and it appears as though there is a
temporary workaround by appending an AC_LANG([C++]) immediately after
executing AX_CHECK_X86_FEATURES. 

My guess is either AX_CHECK_X86_FEATURES or AX_GCC_X86_CPU_SUPPORTS may
have unbalanced AC_LANG_PUSH / AC_LANG_POPs.

Yours truly,

-- 
Kip Warner | Senior Software Engineer
OpenPGP signed/encrypted mail preferred
http://www.thevertigo.com

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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