You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Mac OS X 10.7.4 and gcc <= 4.2.1, crestc will fail if you include stdlib.h
in your C-code. The issue with stdlib is that it causes cilly to fail due to
some Apple-defined versions of functions that take arguments of form:
void (^)(void),
which is not something that cilly can handle.
Since these are all specified within #ifdef __BLOCKS__ sections, the patch
simply undef that!
Shouldn't hurt on other platforms, so #undef globally.
Note, I also added a `set -e` at the top of the crestc script so that any error
in the script will cause the script to fail non-zero. Previously any error
code set by cilly would be swallowed because the script would happily run on
through process_cfg.
Patch is attached.
Original issue reported on code.google.com by eric.eng...@gmail.com on 17 Jul 2012 at 9:01
Original issue reported on code.google.com by
eric.eng...@gmail.com
on 17 Jul 2012 at 9:01Attachments:
The text was updated successfully, but these errors were encountered: