[Ohrrpgce] SVN: teeemcee/11464 Fix compile error on Mac OS 10.13 due to warn_unused_result name clash
subversion at HamsterRepublic.com
subversion at HamsterRepublic.com
Thu Dec 19 21:48:57 PST 2019
teeemcee
2019-12-19 21:48:57 -0800 (Thu, 19 Dec 2019)
554
Fix compile error on Mac OS 10.13 due to warn_unused_result name clash
Error:
In file included from os_unix_wm.c:21:
(...)
In file included from /System/Library/Frameworks/Security.framework/Headers/Security.h:34:
/System/Library/Frameworks/Security.framework/Headers/SecRandom.h:60:21: error: use of undeclared identifier '__warn_unused_result__'
__attribute__ ((warn_unused_result))
^
./config.h:198:45: note: expanded from macro 'warn_unused_result'
# define warn_unused_result __attribute__ ((__warn_unused_result__))
---
U wip/array.c
U wip/config.h
More information about the Ohrrpgce
mailing list