[MacPorts] #68253: clang-devel, legacy-support: error: functions that differ only in their return type cannot be overloaded

MacPorts noreply at macports.org
Wed Sep 27 11:37:44 UTC 2023


#68253: clang-devel, legacy-support: error: functions that differ only in their
return type cannot be overloaded
------------------------+-----------------------------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  clang-devel, legacy-support
------------------------+-----------------------------------------
 clang-devel failed to build on 10.9 with what might be an error in legacy
 support:

 https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/247131/steps
 /install-port/logs/stdio

 {{{
 /opt/local/include/LegacySupport/dirent.h:97:13: error: functions that
 differ only in their return type cannot be overloaded
 extern DIR *fdopendir(int fd) __MPLS_ALIAS_I(fdopendir);
        ~~~~~^
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/dirent.h:126:6:
 note: previous declaration is here
 DIR *fdopendir(int) __DARWIN_ALIAS_I(fdopendir);
 ~~~~~^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68253>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list