zoukankan      html  css  js  c++  java
  • GCC -Wall

    官网:http://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/Warning-Options.html#Warning-Options
    3.8 Options to Request or Suppress Warnings
    .....
    -Wall
    This enables all the warnings about constructions that some users consider questionable, and that are easy to avoid (or modify to prevent the warning), even in conjunction with macros. This also enables some language-specific warnings described in C++ Dialect Options and Objective-C and Objective-C++ Dialect Options.
    -Wall turns on the following warning flags:

              -Waddress   
              -Warray-bounds (only with -O2)  
              -Wc++11-compat  
              -Wchar-subscripts  
              -Wenum-compare (in C/Objc; this is on by default in C++) 
              -Wimplicit-int (C and Objective-C only) 
              -Wimplicit-function-declaration (C and Objective-C only) 
              -Wcomment  
              -Wformat   
              -Wmain (only for C/ObjC and unless -ffreestanding)  
              -Wmaybe-uninitialized 
              -Wmissing-braces  
              -Wnonnull  
              -Wparentheses  
              -Wpointer-sign  
              -Wreorder   
              -Wreturn-type  
              -Wsequence-point  
              -Wsign-compare (only in C++)  
              -Wstrict-aliasing  
              -Wstrict-overflow=1  
              -Wswitch  
              -Wtrigraphs  
              -Wuninitialized  
              -Wunknown-pragmas  
              -Wunused-function  
              -Wunused-label     
              -Wunused-value     
              -Wunused-variable  
              -Wvolatile-register-var 

    http://wenku.baidu.com/link?url=gbKosrdpS_vhpyXIdn11qWOssqdxMhvjdxGw6LPgQ2Wr5Py_e5O8FRdLvoZ8tLRhA-SL6VUVYz2gqOf6AsOmn1UOeTig-B8pBK_fL6sdpYq

  • 相关阅读:
    在 Mac 上使用 PICT 进行 Pairwise 测试
    组合测试术语:Pairwise/All-Pairs、OATS(Orthogonal Array Testing Strategy)
    小白懂算法之二分查找
    小白也能看懂的JVM内存区域
    小白也能看懂的JDK1.8前_HashMap的扩容机制原理
    小白也能看懂的ArrayList的扩容机制
    activenq整合spring之队列消费者
    activemq整合spring之队列生产者
    ActiveMQ之Broker
    ActiveMQ_JMS签收
  • 原文地址:https://www.cnblogs.com/diyunpeng/p/3679135.html
Copyright © 2011-2022 走看看