Skip to content

Commit bbda2a2

Browse files
authored
fix Issue 23692 - ImportC: __pragma and __declspec are not documented as supported Visual C extensions (#3622)
1 parent ac6d6b5 commit bbda2a2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

spec/importc.dd

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,16 @@ $(H2 $(LNAME2 visualc-extensions, Visual C Extensions))
682682
$(LI others are ignored)
683683
)
684684

685+
$(H3 $(LNAME2 __pragma, `__pragma` Attribute Extensions))
686+
687+
$(P The following
688+
$(LINK@ https://learn.microsoft.com/en-us/cpp/preprocessor/pragma-directives-and-the-pragma-keyword?view=msvc-170, `__pragma` extensions):)
689+
690+
$(OL
691+
$(LI `__pragma(pack(N))`)
692+
$(LI others are ignored)
693+
)
694+
685695
$(H2 $(LNAME2 digital-mars-extensions, Digital Mars C Extensions))
686696

687697
$(H3 $(LNAME2 __stdcall, `__stdcall` Function Calling Convention))

0 commit comments

Comments
 (0)