August 30 [Issue 24718] [ImportC] typedef struct with name as a pointer cannot be used with struct name | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24718 --- Comment #1 from Steven Schveighoffer <schveiguy@gmail.com> --- >From the forum post: https://forum.dlang.org/post/tpebcqwzdqfkhnlkmbpd@forum.dlang.org /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 This is actually the error I encountered as well. I wanted to put it in a comment so those looking for the error will find this issue. I boiled the problem down to this simple reproduction. -- |
December 13 [Issue 24718] [ImportC] typedef struct with name as a pointer cannot be used with struct name | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24718 --- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20499 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation