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: Warning policy?


 > 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)";


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