dmd/compiler
drpriver 856d4921a0 Fix #21271 - ImportC: incorrect compatibility macro for __pragma
Fixes https://github.com/dlang/dmd/issues/21271

Redefine the compatibility macro in terms of C99's `_Pragma()`
instead of ignoring it. Clang and GCC will replace `_Pragma()`
with `#pragma` directives in the preprocessed output, while
cl.exe will actually convert it back to `__pragma()`.

This is still a better situation than before as ImportC partially
supports `__pragma()`.
2025-04-19 18:37:13 +08:00
..
docs
ini
src Fix #18263: ImportC fails when DMD is installed in path with spaces (#21263) 2025-04-18 21:35:39 +02:00
test Fix #21271 - ImportC: incorrect compatibility macro for __pragma 2025-04-19 18:37:13 +08:00
tools Update copyright years to 2025 (#20958) 2025-03-06 18:17:32 +08:00