gcc14 build error on macOS Sequoia 15.0
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h:89:25: error: 'long type-name' is invalid
89 | typedef __uint64_t rlim_t;
| ^
./auto-host.h:2748:16: note: expanded from macro 'rlim_t'
2748 | #define rlim_t long
| ^
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc14/libgcc14/work/gcc-14.2.0/gcc/genmodes.cc:21:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc14/libgcc14/work/gcc-14.2.0/gcc/system.h:553:20: error: functions that differ only in their return type cannot be overloaded
553 | extern const char *strsignal (int);
| ~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:134:7: note: previous declaration is here
134 | char *strsignal(int __sig);
| ~~~~~~~~~^
Change History (7)
Summary: |
Error build on macOS Sequoia 15.0 →
gcc14 build error on macOS Sequoia 15.0
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Resolution: |
fixed
|
Status: |
closed →
reopened
|
Resolution: |
→ duplicate
|
Status: |
reopened →
closed
|
I suspect your CLT is messed up. See https://trac.macports.org/ticket/70750 for details and follow the instructions there to address.