dpp icon indicating copy to clipboard operation
dpp copied to clipboard

Directly include C headers in D source code

Results 90 dpp issues
Sort by recently updated
recently updated
newest added

Everything complains about not being able to find the stdint types, e.g. `Error parsing '/usr/local/include/nanomsg/nn.h': error: unknown type name 'uint64_t'` even a simple file that just does `#include ` doesn't...

bug
help wanted

``` $ cat source/cpp.dpp class PriceBarI { public: // OHLC chart virtual double open_() = 0; virtual double high_() = 0; virtual double low_() = 0; virtual double close_() =...

`libclang` ver > (approx) 11.1.0 (and further above 16) only(!) on Windows silently ignores typedefs of anonymous structs like: ```h typedef struct { int i; } Foo; ``` as result,...

help wanted
good first issue

C header: ```h enum esp_chip_id_t { ESP_CHIP_ID_ESP32 = 0x0000, ESP_CHIP_ID_INVALID = 0xFFFF } __attribute__((packed)); ``` Causes ``` Fatal error: core.exception.AssertError@../../.dub/packages/libclang/0.3.3/libclang/source/clang/package.d(290): Assertion failure ---------------- ??:? [0x55fab4d53e6e] ??:? [0x55fab4d53ad2] ??:? [0x55fab4d7b25e] ??:?...

C header: ```h enum var { SOME1, SOME2 }; // payload with same as struct field name union { struct { int var:1; }; } un; ``` Translation into D...

On current `~master` C code: ```c static struct { const char *name; } http_strerror_tab[] = { { "CB_message_begin" }, { "CB_url" }, { "CB_header_field" } }; ``` Will be translated...

dpp generated `liblfdsd.d` file cause `gdc` link error: multiple definition of `_D8liblfdsd14threadConsumerFOCQBc__T9queue_ummTiZQnZv'; /tmp/ccmsmGbO.o:liblfdsd.d:(.text+0x8a00) Both LDC and DMD works fine, but not GDC ``` $ git clone https://github.com/mw66/liblfdsd $ cd liblfdsd...