Project

Profile

Help

Bug #4318

closed

cannot combine with previous 'int' declaration specifier typedef int bool; - Mac OS X

Added by O'Neil Delpratt about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Mac Os X
Start date:
2019-09-24
Due date:
% Done:

100%

Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
1.1.0
Fixed in version:
1.2.0
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:

Description

The follow error was reported when building Saxon/C commands on Mac OS X.

https://stackoverflow.com/questions/58034996/using-saxon-c-with-perl/58060086#58060086

./buildpec-command.sh -I../Saxon.C.API/jni Transform.c:15:13: error: cannot combine with previous 'int' declaration specifier typedef int bool; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stdbool.h:31:14: note: expanded from macro 'bool' Transform.c:15:1: warning: typedef requires a name [-Wmissing-declarations] Transform.c:217:9: warning: format string is not a string literal (potentially insecure) Transform.c:217:9: note: treat the string as an argument to avoid this

Please register to edit this issue

Also available in: Atom PDF