This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/fortran] Add option to make 1st error fatal


On Mon, Oct 31, 2005 at 10:36:00AM -0800, Steve Kargl wrote:
> 
> Round 3.  Removed -Werror (which should actually be spelled -Werrors
> for all front-end).  Renamed -ffatal to -Wfatal-errors (which should
> actaully be spelled -Wfatal-error).  Bootstrapped and regression
> tested on amd64-*-freebsd.
> 
> 2005-10-30  Steven G. Kargl  <kargls@comcast.net>
>  
> 	*lang.opt: Define -Wfatal_errors.
>  	*gfortran.h: Add gfc_option.flag_fatal_errors.
>  	*options.c(gfc_init_options,gfc_post_options): Set and use it.
>  	*error.c (gfc_error_check): Use it.
>  	*invoke.texi: Document.
> 

Round 4.  Use flag_fatal_errors instead of a gfc_option member.

	*error.c: Use flag_fatal_error.
	*invoke.texi:  Remove -Werror from list of options.

-- 
Steve

Attachment: fatal4.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]