Author: bapt
Date: Sun Nov  8 22:23:21 2015
New Revision: 290562
URL: https://svnweb.freebsd.org/changeset/base/290562

Log:
  lower again the warnings and remove the pragmas unsupported by gcc 4.2.1

Modified:
  head/usr.bin/localedef/Makefile
  head/usr.bin/localedef/monetary.c
  head/usr.bin/localedef/numeric.c
  head/usr.bin/localedef/time.c

Modified: head/usr.bin/localedef/Makefile
==============================================================================
--- head/usr.bin/localedef/Makefile     Sun Nov  8 21:57:35 2015        
(r290561)
+++ head/usr.bin/localedef/Makefile     Sun Nov  8 22:23:21 2015        
(r290562)
@@ -13,7 +13,7 @@ SRCS= charmap.c \
        time.c \
        wide.c
 
-WARNS= 5
+WARNS= 3
 ${SRCS:M*.c}: parser.h
 parser.h: parser.y
 

Modified: head/usr.bin/localedef/monetary.c
==============================================================================
--- head/usr.bin/localedef/monetary.c   Sun Nov  8 21:57:35 2015        
(r290561)
+++ head/usr.bin/localedef/monetary.c   Sun Nov  8 22:23:21 2015        
(r290562)
@@ -151,9 +151,6 @@ add_monetary_num(int n)
        }
 }
 
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wcast-qual"
-
 void
 reset_monetary_group(void)
 {
@@ -178,8 +175,6 @@ add_monetary_group(int n)
        mon.mon_grouping = s;
 }
 
-#pragma GCC diagnostic pop
-
 void
 dump_monetary(void)
 {

Modified: head/usr.bin/localedef/numeric.c
==============================================================================
--- head/usr.bin/localedef/numeric.c    Sun Nov  8 21:57:35 2015        
(r290561)
+++ head/usr.bin/localedef/numeric.c    Sun Nov  8 22:23:21 2015        
(r290562)
@@ -77,9 +77,6 @@ add_numeric_str(wchar_t *wcs)
        }
 }
 
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wcast-qual"
-
 void
 reset_numeric_group(void)
 {
@@ -104,8 +101,6 @@ add_numeric_group(int n)
        numeric.grouping = s;
 }
 
-#pragma GCC diagnostic pop
-
 void
 dump_numeric(void)
 {

Modified: head/usr.bin/localedef/time.c
==============================================================================
--- head/usr.bin/localedef/time.c       Sun Nov  8 21:57:35 2015        
(r290561)
+++ head/usr.bin/localedef/time.c       Sun Nov  8 22:23:21 2015        
(r290562)
@@ -187,9 +187,6 @@ check_time_list(void)
        fprintf(stderr,"too few items in list (%d)", last_kw);
 }
 
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wcast-qual"
-
 void
 reset_time_list(void)
 {
@@ -228,8 +225,6 @@ reset_time_list(void)
        }
 }
 
-#pragma GCC diagnostic pop
-
 void
 dump_time(void)
 {
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to