https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87587

            Bug ID: 87587
           Summary: [...]/libstdc++-v3/src/c++11/cxx11-shim_facets.cc:271:
                    28: error: empty class 'std::integral_constant<bool,
                    true>' parameter passing ABI changes in
                    -fabi-version=12 (GCC 8) [-Werror=abi]
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: redi at gcc dot gnu.org
  Target Milestone: ---

As of r262824 "PR libstdc++/86450 use -Wabi=2 and simplify -Werror use" I see
builds fail with a long list of errors:

    make[5]: Entering directory
'[...]/x86_64-pc-linux-gnu/libstdc++-v3/src/c++11'
    /bin/bash ../../libtool [...]
[...]/libstdc++-v3/src/c++11/cow-shim_facets.cc
    libtool: compile: [...]
    In file included from [...]/libstdc++-v3/src/c++11/cow-shim_facets.cc:35:
    [...]/libstdc++-v3/src/c++11/cxx11-shim_facets.cc: In member function 'int
std::__facet_shims::{anonymous}::collate_shim<_CharT>::do_compare(const
_CharT*, const _CharT*, const _CharT*, const _CharT*) const [with _CharT =
char]':
    [...]/libstdc++-v3/src/c++11/cxx11-shim_facets.cc:271:28: error: empty
class 'std::integral_constant<bool, true>' parameter passing ABI changes in
-fabi-version=12 (GCC 8) [-Werror=abi]
        return __collate_compare(other_abi{}, _M_get(),
               ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
            lo1, hi1, lo2, hi2);
            ~~~~~~~~~~~~~~~~~~~
    [...]

That's with "--enable-werror" (which I like to use by default); with
"--disable-werror" these diagnostics display as warnings.

Reply via email to