www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - inportC with postgres 16_4 on macOS error

reply Dakota <dakota gmail.com> writes:
dmd v2.110.0-beta.1


```sh

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(145): Error: found `__filename` when expecting `,`
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(145): Error: no type-specifier for parameter
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(145): Error: found `__mode` when expecting `,`
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(150): Error: found `__ptr` when expecting `,`
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(150): Error: no type-specifier for parameter
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(150): Error: found `__stream` when expecting `,`
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(157): Error: found `__ptr` when expecting `,`
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(157): Error: no type-specifier for parameter
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(157): Error: found `__stream` when expecting `,`
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(337): Error: found `__str` when expecting `,`
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(337): Error: no type-specifier for parameter
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(337): Error: found `__format` when expecting `,`
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(337): Error: no type-specifier for parameter
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(338): Error: found `__stream` when expecting `,`
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(338): Error: no type-specifier for parameter
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(338): Error: found `__format` when expecting `,`
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(338): Error: no type-specifier for parameter
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(339): Error: found `__format` when expecting `,`
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(339): Error: no type-specifier for parameter
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/i
clude/stdio.h(340): Error: found `__str` when expecting `,`

```
Aug 08
parent Dakota <dakota gmail.com> writes:
On Thursday, 8 August 2024 at 10:08:18 UTC, Dakota wrote:
 dmd v2.110.0-beta.1
```c #if defined(_DARWIN_UNLIMITED_STREAMS) || defined(_DARWIN_C_SOURCE) FILE *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_3_2, __DARWIN_EXTSN(fopen)); #else /* !_DARWIN_UNLIMITED_STREAMS && !_DARWIN_C_SOURCE */ FILE *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); #endif /* (DARWIN_UNLIMITED_STREAMS || _DARWIN_C_SOURCE) */ ```
Aug 08