1._Pragma在C++11引入
Implementation defined behavior control - cppreference.com
Pragma directives and the __pragma and _Pragma keywords | Microsoft Docs
2.在vs2019 16.8中,对_Pragma进行了支持,但
C11 and C17 Standard Support Arriving in MSVC - C++ Team Blog
3.所以,对于宏定义中_Pragma的使用,可能会出现IntelliSense提示error的问题。
后续,没有进行相关测试,但问题原因找到了。