首页 > 其他分享 > winioctl.h(10326): [C4668] 没有将“_WIN32_WINNT_WIN10_TH2”定义为预处理器宏,用“0”替换“#if/#elif”

winioctl.h(10326): [C4668] 没有将“_WIN32_WINNT_WIN10_TH2”定义为预处理器宏,用“0”替换“#if/#elif”

时间:2022-10-17 14:56:52浏览次数:54  
标签:WINNT C4668 relevant 10326 distribute elif blog

一般为Windows中的宏和UE4冲突所致

在模块的xxx.Build.cs 里面添加这个:

bEnableUndefinedIdentifierWarnings = false;

转自:https://blog.csdn.net/boonti/article/details/84255014?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param

标签:WINNT,C4668,relevant,10326,distribute,elif,blog
From: https://www.cnblogs.com/zjr0/p/16799186.html

相关文章