[llvm-bugs] [Bug 39162] New: CLANG_ENABLE_BOOTSTRAP=ON is failing "no member named 'imaxdiv_t' in the global namespace"

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 3 08:09:51 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=39162

            Bug ID: 39162
           Summary: CLANG_ENABLE_BOOTSTRAP=ON is failing "no member named
                    'imaxdiv_t' in the global namespace"
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sylvestre at debian.org
                CC: llvm-bugs at lists.llvm.org

with gcc-8:

cd
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-7-7/build-llvm/tools/clang/stage2-bins/lib/MC
&&
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-7-7/build-llvm/./bin/clang++
 -DGTEST_HAS_RTTI=0  -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS
-I/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-7-7/build-llvm/tools/clang/stage2-bins/lib/MC
-I/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-7-7/lib/MC
-I/usr/include/libxml2
-I/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-7-7/build-llvm/tools/clang/stage2-bins/include
-I/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-7-7/include
 -fPIC -fvisibility-inlines-hidden -Werror=date-time
-Werror=unguarded-availability-new -std=c++11 -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
-pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Wstring-conversion -g    -fno-exceptions -fno-rtti
-o CMakeFiles/LLVMMC.dir/MCInstPrinter.cpp.o -c
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-7-7/lib/MC/MCInstPrinter.cpp
In file included from
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-7-7/lib/MC/MCInstPrinter.cpp:18:
/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/cinttypes:58:11:
error: no member named 'imaxdiv_t' in the global namespace
  using ::imaxdiv_t;
        ~~^
/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/cinttypes:61:11:
error: no member named 'imaxabs' in the global namespace
  using ::imaxabs;
        ~~^
/usr/lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/cinttypes:62:11:
error: no member named 'imaxdiv' in the global namespace
  using ::imaxdiv;
        ~~^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181003/d3a2af26/attachment.html>


More information about the llvm-bugs mailing list