Opened 2 hours ago
Last modified 16 minutes ago
#70855 new defect
gcc14 build error on macOS Sequoia 15.0
Reported by: | shuxiao9058 (Aaron Ji) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | gcc14 |
Description
/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); | ~~~~~~~~~^
Attachments (1)
Change History (2)
Changed 2 hours ago by shuxiao9058 (Aaron Ji)
comment:1 Changed 16 minutes ago by cjones051073 (Chris Jones)
Summary: | Error build on macOS Sequoia 15.0 → gcc14 build error on macOS Sequoia 15.0 |
---|
Note: See
TracTickets for help on using
tickets.
I suspect your CLT is messed up. See https://trac.macports.org/ticket/70750 for details and follow the instructions there to address.