c - Visual Studio 2008 限制为 ANSI C

标签 c visual-studio c99

我想限制 microsoft visual studio,使其只能运行“C99”(ANSI C) 代码。谁能给我一些指导?

最佳答案

Microsoft 尚未实现 c99,他们一直在努力开发标准 C++。

但是,如果您只想禁用 Microsoft 对 C/C++ 的扩展,那么您可以使用/Za 编译器开关,但不要指望使用像 stdint.h 这样的 c99 东西。 .

关于c - Visual Studio 2008 限制为 ANSI C,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1938272/

相关文章:

C 从不同结构体数组中获取并实例化结构体类型

c++ - 静态 vector 的 setter/getter

c# - 第一次尝试构建失败然后通过

c - 使用 C99 和 C11 时的效率问题。

c++ - 我如何试验垃圾收集?

c - GCC 编译器执行 asm volatile ("nop"/::) 指令需要多长时间?

c - 如何修复 : "comparison between signed and unsigned"? 之类的警告

c# - .NET 核心 : Array class does not contain definition for ConvertAll

c - 浮点方程检查 ansi c - isnormal()

c - 在 C 中的循环中重新声明 VLA 数组