Commit 7a64606
committed
Add some notes about new issues on MacOSX
Gah. Not 100% sure, but it seems as if the GitHub CI system just rolled out
some updates for the macos runners, and they're messing with us.
OpenNURBS suddenly seems to need _DARWIN_C_SOURCE defined or we get the
following error:
In file included from /Users/runner/work/brlcad/brlcad/build_osx/include/openNURBS/opennurbs_system.h:389:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/malloc/malloc.h:177:46: error: unknown type name 'malloc_type_id_t'
177 | struct _malloc_zone_t *zone, size_t size, malloc_type_id_t type_id);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/malloc/malloc.h:181:4: error: unknown type name 'malloc_type_id_t'
181 | malloc_type_id_t type_id);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/malloc/malloc.h:185:17: error: unknown type name 'malloc_type_id_t'
185 | size_t size, malloc_type_id_t type_id);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/malloc/malloc.h:189:4: error: unknown type name 'malloc_type_id_t'
189 | malloc_type_id_t type_id);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/malloc/malloc.h:194:4: error: unknown type name 'malloc_type_id_t'
194 | malloc_type_id_t type_id);
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/malloc/malloc.h:334:2: error: unknown type name 'malloc_type_id_t'; did you mean 'malloc_type_kind_v0_t'?
334 | malloc_type_id_t type_id;
| ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/malloc/malloc.h:237:3: note: 'malloc_type_kind_v0_t' declared here
237 | } malloc_type_kind_v0_t;
| ^
I haven't managed to get a working configure-time test for the needs
_DARWIN_C_SOURCE yet, so for now just setting the define to get us passed the
build error.1 parent ce3bb90 commit 7a64606
2 files changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
21 | 31 | | |
22 | 32 | | |
23 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
75 | 81 | | |
76 | 82 | | |
77 | 83 | | |
| |||
0 commit comments