August 30 General » Re: ImportC and nothrow/@nogc? | |||
|---|---|---|---|
| |||
Except you can't, because it's a C file, not D. What am I... | |||
August 30 General » Re: importC int128 support timeline and other problem | |||
|---|---|---|---|
| |||
Does your hardware support it? That message looks like the C preprocessor telling you it... | |||
August 30 General » importC int128 support timeline and other problem | |||
|---|---|---|---|
| |||
The problem list: [importC Error: unsigned __int128 not supported](https://forum.dlang.org/post/gszrquconihrheekkxes... | |||
August 30 Learn » importC error: _Builtin_stddef | |||
|---|---|---|---|
| |||
get this error: ```sh In file included from /llvm/lib/clang/18/include/stddef.h... | |||
August 29 General » Re: ImportC and nothrow/@nogc? | |||
|---|---|---|---|
| |||
...can't just import C headers with importC, since it seems like that would be... | |||
August 29 General » Re: ImportC and nothrow/@nogc? | |||
|---|---|---|---|
| |||
No, this is completely different to my suggestion. | |||
August 29 General » Re: ImportC and nothrow/@nogc? | |||
|---|---|---|---|
| |||
https://forum.dlang.org/post/v0urjh$58i$1@digitalmars.com | |||
August 29 General » Re: ImportC and nothrow/@nogc? | |||
|---|---|---|---|
| |||
...wrote: You can't import headers with importC. You have to import C files. It... | |||
August 29 General » Re: ImportC and nothrow/@nogc? | |||
|---|---|---|---|
| |||
A modification of the header is not needed. It is enough to create a wrapper... | |||
August 29 General » Re: ImportC and nothrow/@nogc? | |||
|---|---|---|---|
| |||
That requires modification of the C header. maybe using the attribute on the import is... | |||
Copyright © 1999-2021 by the D Language Foundation