Hello GNUStep,
When I try to build gnustep-base-1.24.9 with libobjc2-1.8.1, I get a type
mismatch for _Block_copy and _Block_release:
../../Headers/GNUstepBase/GSBlocks.h:123:7: error: conflicting types for
'_Block_copy'
void *_Block_copy(void *) __attribute__((weak));
^
/home/dlobron/build/clangport/akamai/common/include/objc/blocks_runtime.h:16:21:
note: previous declaration is here
BLOCKS_EXPORT void *_Block_copy(const void *);
...
../../Headers/GNUstepBase/GSBlocks.h:124:6: error: conflicting types for
'_Block_release'
void _Block_release(void *) __attribute__((weak));
^
/home/dlobron/build/clangport/akamai/common/include/objc/blocks_runtime.h:17:20:
note: previous declaration is here
BLOCKS_EXPORT void _Block_release(const void *);
I was wondering if it's intentional that these functions are defined in both
libraries. Is one more correct than the other? Should I hide one of them?
Thank you,
David
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep