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

            Bug ID: 106720
           Summary: gcc does not compile with XCode 13.4.1 / clang 13.1.6
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: juergen.reuter at desy dot de
  Target Milestone: ---

Trying to compile the full gcc on Darwin x86_64 (not M1, darwin-arm64, not
checked yet), the gcc 13.0.0 (git clone as of today) fails to compile with the
following error message:
../../libcpp/include/cpplib.h:292:3: error: "Cannot find a least-32-bit signed
integer type"
# error "Cannot find a least-32-bit signed integer type"
  ^
../../libcpp/include/cpplib.h:294:34: error: expected ';' after top level
declarator
typedef unsigned CPPCHAR_SIGNED_T cppchar_t;
                                 ^
                                 ;
../../libcpp/include/cpplib.h:1163:8: error: unknown type name 'cppchar_t'; did
you mean 'wchar_t'?
extern cppchar_t cpp_interpret_charconst (cpp_reader *, const cpp_token *,
       ^~~~~~~~~
       wchar_t
../../libcpp/include/cpplib.h:1180:8: error: unknown type name 'cppchar_t'; did
you mean 'wchar_t'?
extern cppchar_t cpp_host_to_exec_charset (cpp_reader *, cppchar_t);
       ^~~~~~~~~
       wchar_t
../../libcpp/include/cpplib.h:1180:58: error: unknown type name 'cppchar_t';
did you mean 'wchar_t'?
extern cppchar_t cpp_host_to_exec_charset (cpp_reader *, cppchar_t);
                                                         ^~~~~~~~~
                                                         wchar_t
../../libcpp/include/cpplib.h:1361:8: error: unknown type name 'cppchar_t'; did
you mean 'wchar_t'?
extern cppchar_t cpp_parse_escape (cpp_reader *, const unsigned char ** pstr,
       ^~~~~~~~~
       wchar_t
../../libcpp/include/cpplib.h:1492:3: error: unknown type name 'cppchar_t'; did
you mean 'wchar_t'?
  cppchar_t m_ch;

Reply via email to