importC error: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h(168): Error: variable `lib_test.mach_vm_range_recipe_v1_t.range` - no definition of struct `mach_vm_range`
Steven Schveighoffer
schveiguy at gmail.com
Fri Aug 30 14:59:12 UTC 2024
On Thursday, 8 August 2024 at 06:34:43 UTC, Dakota wrote:
> ```sh
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h(168): Error: variable `lib_test.mach_vm_range_recipe_v1_t.range` - no definition of struct `mach_vm_range`
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h(168): see https://dlang.org/spec/struct.html#opaque_struct_unions
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h(168): perhaps declare a variable with pointer type `mach_vm_range*` instead
> ```
I ran into this exact problem from that header a few days ago!
https://issues.dlang.org/show_bug.cgi?id=24718
-Steve
More information about the Digitalmars-d-learn
mailing list