This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Warning policy?
- To: law at cygnus dot com
- Subject: Re: Warning policy?
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Thu, 7 Jan 1999 10:37:56 -0500 (EST)
- Cc: chip at perlsupport dot com, egcs-patches at cygnus dot com, egcs at cygnus dot com, jbuck at Synopsys dot COM, mark at markmitchell dot com, pfeifer at dbai dot tuwien dot ac dot at, rth at cygnus dot com, schwab at issan dot informatik dot uni-dortmund dot de
> From: Jeffrey A Law <law@hurl.cygnus.com>
>
> > Another option would be to simply bump the check to "GCC < 2.93" in
> > gansidecl.h (with or without an actual egcs minor version number bump.)
>
> That would be fine with me too. We could bump the version # to 2.93 if
> we want.
> jeff
How about this? Okay to install?
Thu Jan 7 09:57:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gansidecl.h: Allow attribute unused on labels only when we are
version 2.93 or higher. Not all versions of 2.92 have this feature.
* version.c: Bump minor number to 93.
diff -rup orig/egcs-CVS19990105/gcc/gansidecl.h egcs-CVS19990105/gcc/gansidecl.h
--- orig/egcs-CVS19990105/gcc/gansidecl.h Tue Jan 5 22:27:32 1999
+++ egcs-CVS19990105/gcc/gansidecl.h Thu Jan 7 09:53:41 1999
@@ -39,7 +39,7 @@ Boston, MA 02111-1307, USA. */
#endif
#ifndef ATTRIBUTE_UNUSED_LABEL
-# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 92)
+# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 93)
# define ATTRIBUTE_UNUSED_LABEL
# else
# define ATTRIBUTE_UNUSED_LABEL ATTRIBUTE_UNUSED
diff -rup orig/egcs-CVS19990105/gcc/version.c egcs-CVS19990105/gcc/version.c
--- orig/egcs-CVS19990105/gcc/version.c Tue Jan 5 22:28:56 1999
+++ egcs-CVS19990105/gcc/version.c Thu Jan 7 09:51:19 1999
@@ -1 +1 @@
-char *version_string = "egcs-2.92.34 19990105 (gcc2 ss-980609 experimental)";
+char *version_string = "egcs-2.93.00 19990105 (gcc2 ss-980609 experimental)";