如何避免编译器警告4091 typedef忽略在corhdr.h中'NGenHintEnum'的左侧 [英] How to avoid compiler warning 4091 typedef ignored to left of 'NGenHintEnum' in corhdr.h

查看:75
本文介绍了如何避免编译器警告4091 typedef忽略在corhdr.h中'NGenHintEnum'的左侧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

头文件&mbsp; microsoft sdks\windows\v7.1a\include\corhdr.h会导致两个4091警告,不需要typedef:

The header file, microsoft sdks\windows\v7.1a\include\corhdr.h, causes a couple of 4091 warnings that typedef is not necessary:

由于我构建警告被视为错误,我想删除这些警告但它们位于Microsoft提供的系统头文件中。我没有看到对此文件的任何更新,所以我想知道如何忽略这些或应用修复?

Since I build so that warnings are considered errors, I want to remove these warnings but they are in a Microsoft-provided system header file. I haven't seen any update to this file, so I'm wondering how I can ignore these or apply a fix?

Bob

推荐答案

嗨Bob-Uva,

Hi Bob-Uva,

这个论坛讨论并询问有关.NET核心问题的问题,因为你的问题更相关对于C ++,我们将把它转移到C ++论坛以获得合适的支持。

This forum discusses and asks questions about issues regarding the very core of .NET, Since your issue is more related to C++, we'll move it to C++ forum for suitable support.

感谢您的理解与合作。

祝你好运,

Cole Wu


这篇关于如何避免编译器警告4091 typedef忽略在corhdr.h中'NGenHintEnum'的左侧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆