Re: Error with -betterC

2024-11-08 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 09/11/2024 4:03 AM, Maximilian Naderer wrote: On Friday, 8 November 2024 at 11:21:33 UTC, Richard (Rikki) Andrew Cattermole wrote: On 09/11/2024 12:10 AM, Maximilian Naderer wrote: Is the -betterC config not creating the equals, hash functions which are generated by D ? I just checked, no.

Re: Error with -betterC

2024-11-08 Thread Maximilian Naderer via Digitalmars-d-learn
On Friday, 8 November 2024 at 11:21:33 UTC, Richard (Rikki) Andrew Cattermole wrote: On 09/11/2024 12:10 AM, Maximilian Naderer wrote: Is the -betterC config not creating the equals, hash functions which are generated by D ? I just checked, no. Hello Rikki, Thanks for checking. Just to conf

Re: Error with -betterC

2024-11-08 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 09/11/2024 12:10 AM, Maximilian Naderer wrote: Is the -betterC config not creating the equals, hash functions which are generated by D ? I just checked, no.

Error with -betterC

2024-11-08 Thread Maximilian Naderer via Digitalmars-d-learn
I have the following struct with i compile with -betterC into a static library. ```d struct SubmitDesc { union { uint[4] viewport; struct { uint vpx; uint vpy; uint vpw; uint vph; } } union { float[4] c