continue #15456 add #pragma directives compiler support (#16472)
continue #15456 add #pragma directives compiler support (#16472)

* continue #15456
* follow the advice from juan_carlos

dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim,dom96/Nim