September 06 General » Re: Standard way to supply hints to branches | |||
|---|---|---|---|
| |||
It should be a pragma. In general, a pragma is something a conforming compiler can... | |||
September 05 Issues » [Issue 24732] FAQ article is out of date on calling printf | |||
|---|---|---|---|
| |||
...for printf specifiers. Add stdio import. Mention pragma(printf). Show string literal with `%s`. Fix... | |||
September 03 General » Re: pragma(inline) doesnt work on local functions : DMD | |||
|---|---|---|---|
| |||
Please submit bugs to bugzilla! | |||
September 03 General » Re: pragma(inline) doesnt work on local functions : DMD | |||
|---|---|---|---|
| |||
...the pragma to `Foo` which I think is wrong (because no semicolon after the pragma... | |||
September 03 General » Re: pragma(inline) doesnt work on local functions : DMD | |||
|---|---|---|---|
| |||
...put the pragma(inline) in GetFoo. RazvanN [1] https://dlang.org/spec/pragma.html#inline | |||
September 02 General » pragma(inline) doesnt work on local functions : DMD | |||
|---|---|---|---|
| |||
Seems like an oversight?
```d
int Foo()
{
pragma(inline,true)
int GetFoo() { return 42; }
return... | |||
September 01 Issues » [Issue 24717] alias edge cases with tupleof | |||
|---|---|---|---|
| |||
...void foo()
{
pragma(msg, typeof(&S.foo)); // void delegate();
auto f = &S.foo;
pragma(msg... | |||
August 31 Issues » [Issue 24733] ImportC: `#pragma pack(pop)` restores wrong alignment | |||
|---|---|---|---|
| |||
...pull request #16821 "Fix bugzilla 24733 - ImportC: `#pragma pack(pop)` restores wrong alignment" was merged... | |||
August 31 General » Re: This needs to be fixed - ref | |||
|---|---|---|---|
| |||
...main(){
S s;
pragma(msg,__traits(isRef,s.tupleof[0])); // false
pragma(msg,__traits(isSame... | |||
August 30 Issues » [Issue 24732] FAQ article is out of date on calling printf | |||
|---|---|---|---|
| |||
...for printf specifiers. Add stdio import. Mention pragma(printf). Show string literal with `%s`. Fix... | |||
Copyright © 1999-2021 by the D Language Foundation