[MacPorts] #66947: OpenBLAS: error: unknown type name 'FILE'
MacPorts
noreply at macports.org
Sat Feb 18 16:47:25 UTC 2023
#66947: OpenBLAS: error: unknown type name 'FILE'
--------------------+-------------------------
Reporter: mf2k | Owner: NicosPavlov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: OpenBLAS
--------------------+-------------------------
I'm seeing the following build error for OpenBLAS. macOS Ventura 13.2.1.
Xcode 14.2. M2 MacBook Pro.
{{{
:info:build
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include/stdio.h:153:1:
error: unknown type name 'FILE'
:info:build FILE *fopen(const char * __restrict __filename, const char
* __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0,
__DARWIN_ALIAS(fopen));
:info:build ^
:info:build
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include/stdio.h:153:81:
error: expected function body after function declarator
:info:build FILE *fopen(const char * __restrict __filename, const char
* __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0,
__DARWIN_ALIAS(fopen));
:info:build
^
:info:build
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk/usr/include/stdio.h:155:14:
error: unknown type name 'FILE'
:info:build int fprintf(FILE * __restrict, const char * __restrict,
...) __printflike(2, 3);
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66947>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list