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]

Re: Enum fix to cplus-dem.c for gcc build with native cc on vax ultrix


This is the last of the enum fixes for the ultrix native compiler.  I am
going to checkin under the obvious rule.

> 
> Please review.
> 
> -- 
> J. David Anglin                                  dave.anglin@nrc.ca
> National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)
> 
> 2001-02-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
> 
> 	* cplus-dem.c (main): Cast enum style to int.
> 
> --- cplus-dem.c.orig	Sun Feb 18 14:06:37 2001
> +++ cplus-dem.c	Wed Feb 21 21:38:12 2001
> @@ -5148,7 +5148,7 @@
>  		skip_first = i;
>  
>  	      mbuffer[i] = 0;
> -	      flags |= style;
> +	      flags |= (int) style;
>  	      result = cplus_demangle (mbuffer + skip_first, flags);
>  	      if (result)
>  		{
> 

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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