digitalmars.D.learn - importC error:
- Dakota (5/5) Aug 07 ```sh
- Steven Schveighoffer (4/9) Aug 30 I ran into this exact problem from that header a few days ago!
```sh /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/m ch/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/m ch/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/m ch/vm_types.h(168): perhaps declare a variable with pointer type `mach_vm_range*` instead ```
Aug 07
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/m ch/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/m ch/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/m ch/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
Aug 30