Re: translate alias align from C to D

2025-01-13 Thread Dakota via Digitalmars-d-learn
On Monday, 13 January 2025 at 14:52:05 UTC, Matheus Catarino wrote: On Monday, 13 January 2025 at 11:36:45 UTC, Dakota wrote: You could simply use dstep or dmd/ldc2 `-H`|`-Hf=`. Thanks for tips. My point is c allot align to alias, is D support it ? I want avoid importC, because I want to w

Re: translate alias align from C to D

2025-01-13 Thread Lance Bachmeier via Digitalmars-d-learn
On Monday, 13 January 2025 at 11:36:45 UTC, Dakota wrote: I want tranlate this into d without importC, what is the best way to do it? When you say "without importC" do you mean without compiling it using importC? Because if you're able to use importC for just the translation, you can put the

Re: translate alias align from C to D

2025-01-13 Thread Matheus Catarino via Digitalmars-d-learn
On Monday, 13 January 2025 at 11:36:45 UTC, Dakota wrote: I want tranlate this into d without importC, what is the best way to do it? You could simply use dstep or dmd/ldc2 `-H`|`-Hf=`. My test on linux shows that both can translate/convert the file. Although there are differences such as: