http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50134

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-09-30 
06:54:59 UTC ---
What is the difference between Wmissing-prototypes and Wmissing-declarations?

 -Wmissing-prototypes (C and Objective-C only)
           Warn if a global function is defined without a previous prototype
declaration.  This warning is issued even if the definition itself provides a
prototype.  The aim is to detect global functions that fail to be declared in
header files.

       -Wmissing-declarations
           Warn if a global function is defined without a previous declaration.
 Do so even if the definition itself provides a prototype.  Use this option to
detect global functions that are not declared in header files.  In C++, no
warnings are issued
           for function templates, or for inline functions, or for functions in
anonymous namespaces.


They seem exactly the same thing!

Reply via email to