Re: D feature request

2024-08-07 Thread Salih Dincer via Digitalmars-d-learn
On Sunday, 4 August 2024 at 10:06:49 UTC, aberba wrote: So if I have a feature request, but I don't have the necessary technical skills to draft a DIP with the implementation details, is there a process in D community to submit such a request? please continue here: https://forum.dlang.org/gro

importC error: alignment value expected, not `sizeof`

2024-08-07 Thread Dakota via Digitalmars-d-learn
```c typedef struct test_s { unsigned char _[64] __attribute__ ((aligned (sizeof (void *; } test_t; ```

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.ra

2024-08-07 Thread Dakota via Digitalmars-d-learn
```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.