August 30 Issues » [Issue 24733] ImportC: `#pragma pack(pop)` restores wrong alignment | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24733 Tim <tim.dlang@t-online.de... | |||
August 30 Issues » [Issue 24733] ImportC: `#pragma pack(pop)` restores wrong alignment | |||
|---|---|---|---|
| |||
...ImportC: `#pragma pack(pop)` restores wrong alignment" fixing this issue: - Fix bugzilla 24733 - ImportC: `#pragma... | |||
August 30 Issues » [Issue 24733] New: ImportC: `#pragma pack(pop)` restores wrong alignment | |||
|---|---|---|---|
| |||
...int i;};
#pragma pack(push, 2)
struct S2 {unsigned char c;int i;};
#pragma pack... | |||
August 29 DIP Ideas » Re: Escape Analysis & Owner Escape Analysis | |||
|---|---|---|---|
| |||
...my functions escape without reading my function bodies or having to `pragma(msg, typeof(someFunction))`. | |||
August 29 General » Re: ImportC and nothrow/@nogc? | |||
|---|---|---|---|
| |||
...to create a wrapper C file, which uses the pragma and includes the real header. | |||
August 29 General » Re: ImportC and nothrow/@nogc? | |||
|---|---|---|---|
| |||
...a pull request for a new ImportC pragma, which allows to set `nothrow`, `@nogc` and... | |||
August 29 Issues » [Issue 23812] ImportC: allow adding function attributes to imported C functions | |||
|---|---|---|---|
| |||
...with the same pragma using a minus. Unknown pragmas are ignored. The pragma starts with... | |||
August 29 DIP Ideas » Re: ImportC define attribute | |||
|---|---|---|---|
| |||
I like this idea of using a `pragma` instead I don't like the version... | |||
August 28 DIP Ideas » Re: ImportC define attribute | |||
|---|---|---|---|
| |||
...version` + `else`:
```D
version(X)
{
pragma(define, "ENABLE_X")
pragma(define, "X", "1" ~ "2")
{
import... | |||
August 26 General » Re: ImportC and nothrow/@nogc? | |||
|---|---|---|---|
| |||
...can be improved with some way to pragma the compiler to importC the file as... | |||
Copyright © 1999-2021 by the D Language Foundation