thradams / cake

Cake a C23 front end and transpiler written in C
http://thradams.com/cake/index.html
GNU General Public License v3.0
533 stars 21 forks source link

pragma failing on windows headers.. after pragma refactoring #183

Closed thradams closed 6 months ago

thradams commented 6 months ago
typedef struct _SCARD_T0_REQUEST {
    SCARD_IO_REQUEST ioRequest;
    BYTE
        bSw1,
        bSw2;           // Return codes from the instruction
#pragma warning(push)
#pragma warning(disable:4201)
    union
    {
        SCARD_T0_COMMAND CmdBytes;
        BYTE rgbHeader[5];
    } DUMMYUNIONNAME;
#pragma warning(pop)
} SCARD_T0_REQUEST;