https://issues.dlang.org/show_bug.cgi?id=22724
Max Samukha <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ImportC: VC's __pragma |ImportC: VC's |fails to compile |__pragma(pack) fails to | |compile --- Comment #2 from Max Samukha <[email protected]> --- I meant specifically __pragma(pack). Having skimmed over https://github.com/dlang/dmd/pull/13112, I got the impression that __pragma(pack) was supported. I see now that the __pragma token is reserved, but only '#pragma pack' is recognized. I was able to shut up the compiler with this hack (correctness of '#pragma pack' implementation is not immediately important to me): #define PP_HASH # #define PP_IDENTITY(value) value #define __pragma(args) PP_IDENTITY(PP_HASH)pragma args --
