This patch is for bug 578 (https://bugs.open64.net/show_bug.cgi?id=578,
please state the bug number in your review request in the next time).

Form the GCC manual, the message for each options should be:
-WextraThis enables some extra warning flags that are not enabled by -Wall.
-Wmissing-include-dirsWarn if a user-supplied include directory does not
exist. I can not find any document about -Wno-extra though gcc accept it. It
looks like meaningless.
Please remove the -Wno-extra and modify the messages.

2010/9/1 朱庆 <zqing1...@gmail.com>

> Hi, All
>
> Can gatekeeper help review this fix?
>
> Add option entry for Wextra,Wno-extra,Wmissing-include-dirs.
> Wextra,Wno-extra: are used to enable/disable some extra warning flags that
> are not enabled by -Wall.
> Wmissing-include-dirs:warn if a user-supplied include directory does not
> exist.
>
> Following is the fix:
>
> Index: osprey/driver/OPTIONS
> ===================================================================
> --- osprey/driver/OPTIONS       (revision 3333)
> +++ osprey/driver/OPTIONS       (working copy)
> @@ -1472,6 +1472,10 @@
>         "Warn about possibly missing braces around initialisers"
>  -Wno-missing-braces    ;       Cc      f       self
>         "Do not warn about possibly missing braces around initialisers"
> +-Wextra                 ;       Cc      f       self
> +        "Warn about some extra warning flags that are not enabled by
> -Wall"
> +-Wno-extra              ;       Cc      f       self
> +        "Do not warn about some extra warning flags that are not enabled
> by -Wall"
>  -Wmissing-declarations ;               Cc      f       self
>         "Warn about global funcs without previous declarations"
>  -Wno-missing-declarations      ;               Cc      f       self
> @@ -1944,6 +1948,8 @@
>         "File tells Fortran compiler how to transform ids into linker
> symbols"
>  -undef ;               Cc,as,CPP       CPP     self
>         ""
> +-Wmissing-include-dirs   ;   Cc,as,CPP    CPP    self
> +        "No such file or directory"
>  %%% Code Generation Options
>  -fcall-saved-%s        ;               Cc      NONE    ""
>         ""
>
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> Open64-devel mailing list
> Open64-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/open64-devel
>
>


-- 
Regards,
Lai Jian-Xin
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to