关于CodeBlock编译器设置? [英] Regarding CodeBlock compiler settings?

查看:377
本文介绍了关于CodeBlock编译器设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在CodeBlock v12.11编译器中关闭ANSI兼容性?

How to turn ANSI compatibility off in CodeBlock v12.11 compiler?

推荐答案

CodeBlock是IDE,而不是编译器。所以一切都取决于你使用的实际编译器。您必须创建或修改项目模板 [ ^ ]并添加正确的编译器开关。假设您使用随IDE一起提供的GCC / MingW,您不能关闭ansi兼容性,您需要指定所需的标准或扩展支持。请参阅: http://gcc.gnu.org/onlinedocs/gcc/Standards.html [ ^ ]
CodeBlock is an IDE, not a compiler. So everything depend on the actual compiler you use. You have to create or modify a project template[^] and add proper compiler switch. Supposing you use GCC/MingW that is shipped in a package with the IDE, you can''t "turn off" ansi compatibility, you need to specify which standard or extension support you want. See: http://gcc.gnu.org/onlinedocs/gcc/Standards.html[^]


这篇关于关于CodeBlock编译器设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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