版 - 发表文章
您还没有登录, 请输入正确的帐号密码登录! 如果您还未在本站注册请先 [
【 在 omgpop (联想 fk off!) 的大作中提到: 】 : GCC is very flexible, and it is for experts only, which means you should : know exactly what you are doing. If you don't, you have to read the manual : and make sure you do. : -Werror=parentheses reports an error and stops the compilation. It was not : designed for spotting the '=' operator usage originally, but just used as a : trick. It is supposed that when you really mean to use the == operator, you : don't add the parentheses explicitly, but for better coding style, you : always want to add them to emphasize that you are doing an assignment. So, : you are doing an assignment but not using parentheses, you are very likely : having a typo. : ...................
Terms and Conditions
版权所有 - 未名空间（mitbbs.com）- since 1996