Actions
Bug #4318
closedcannot combine with previous 'int' declaration specifier typedef int bool; - 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
Actions