[Xapian-tickets] [Xapian] #622: C++ ABI check fails with e.g. CXXFLAGS=-fabi-version=0
Xapian
nobody at xapian.org
Wed May 22 12:05:29 BST 2013
#622: C++ ABI check fails with e.g. CXXFLAGS=-fabi-version=0
--------------------------+-------------------------------------------------
Reporter: mustrumr97 | Owner: olly
Type: defect | Status: assigned
Priority: normal | Milestone: 1.2.16
Component: Build system | Version:
Severity: normal | Keywords:
Blockedby: | Platform: All
Blocking: |
--------------------------+-------------------------------------------------
Changes (by olly):
* milestone: 1.3.2 => 1.2.16
Comment:
OK, committed a fix to trunk in r17303.
I too the approach of adding both CPPFLAGS and CXXFLAGS only for MSVC and
compilers defining __GNUC__ (since those may need the additional flags,
and we know they should handle all CXXFLAGS); for others compilers, I only
added CPPFLAGS.
The autoconf manual advises in the docs for AC_PREPROC_IFELSE that:
{{{
This macro uses `CPPFLAGS', but not `CFLAGS', because `-g', `-O', etc. are
not valid options to many C preprocessors.
}}}
It's unclear if that's also true for C++ compilers, but CXXCPP can be cpp
if $CXX -E doesn't work, and I'd rather avoid possible regressions for
compilers and platforms I'm unable to test on.
Marking to backport for 1.2.16.
--
Ticket URL: <http://trac.xapian.org/ticket/622#comment:3>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list