-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Labels
Description
Bug imported from C2HS Trac
Trac ticket created: 2010-03-18T07:36:03-0700; last modified: 2010-06-15T10:12:28-0700
on Snow Leopard, /usr/include/stdlib.h contains Apple's new blocks notation, which c2hs seems unhappy with, despite it being protected by an #ifdef.
lines 271 onwards:
ifdef BLOCKS
int atexit_b(void (^)(void));
void *bsearch_b(const void *, const void *, size_t,
size_t, int (^)(const void *, const void *));
endif /* BLOCKS */
� hubris-0.0.2 ./Setup build
Preprocessing library hubris-0.0.2...
c2hs: C header contains errors:
/usr/include/stdlib.h:272: (column 20) [ERROR] >>> error
Syntax error !
The symbol `^' does not fit here.