OSDN Git Service

* cppinit.c (sanity_checks): Avoid printf mismatch warnings.
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 May 2002 20:09:00 +0000 (20:09 +0000)
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 May 2002 20:09:00 +0000 (20:09 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53694 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cppinit.c

index 84fbe3f..af1f768 100644 (file)
@@ -1,3 +1,7 @@
+2002-05-21  Andreas Jaeger  <aj@suse.de>
+
+       * cppinit.c (sanity_checks): Avoid printf mismatch warnings.
+
 2002-05-21  Richard Henderson  <rth@redhat.com>
 
        * reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
@@ -33,7 +37,7 @@ Tue May 21 10:51:54 CEST 2002  Jan Hubicka  <jh@suse.cz>
        (cselib_invalidate_regno): Use it to determine which hard
        registers to scan when mode is not VOIDmode.
 
-2002-05-20  Duraid Madina   <duraid@fl.net.au>   
+2002-05-20  Duraid Madina   <duraid@fl.net.au>
 
        * tradcpp.c (fixup_newlines): Use old-style function header.
 
@@ -215,7 +219,7 @@ config/alpha:
 
        * toplev.c (display_help): Kill -a -ax help.
 
-       * config/1750a/1750a.h, config/alpha/alpha.h, 
+       * config/1750a/1750a.h, config/alpha/alpha.h,
        config/clipper/clipper.h, config/dsp16xx/dsp16xx.h,
        config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h,
        config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h:
@@ -258,7 +262,7 @@ config/alpha:
        config/i386/i386-protos.h, config/i386/win32.h, config/i386/winnt.c,
        config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c,
        config/m32r/m32r.h, config/mcore/mcore.c, config/mcore/mcore.h,
-       config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h, 
+       config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h,
        config/rs6000/xcoff.h, config/sh/sh.c, config/sh/sh.h,
        config/v850/v850.c, config/v850/v850.h:
        Move STRIP_NAME_ENCODING to out-of-line function and add
index dad255a..4f2cc8e 100644 (file)
@@ -858,8 +858,9 @@ static void sanity_checks (pfile)
 
   if (CPP_OPTION (pfile, precision) > BITS_PER_HOST_WIDEST_INT)
     cpp_error (pfile, DL_FATAL,
-              "preprocessor arithmetic has maximum precision of %u bits; target requires %u bits",
-              BITS_PER_HOST_WIDEST_INT, CPP_OPTION (pfile, precision));
+              "preprocessor arithmetic has maximum precision of %lu bits; target requires %lu bits",
+              (unsigned long)BITS_PER_HOST_WIDEST_INT,
+              (unsigned long)CPP_OPTION (pfile, precision));
 
   if (CPP_OPTION (pfile, precision) < CPP_OPTION (pfile, int_precision))
     cpp_error (pfile, DL_FATAL,
@@ -878,8 +879,9 @@ static void sanity_checks (pfile)
 
   if (CPP_OPTION (pfile, wchar_precision) > BITS_PER_CPPCHAR_T)
     cpp_error (pfile, DL_FATAL,
-              "CPP on this host cannot handle wide character constants over %u bits, but the target requires %u bits",
-              BITS_PER_CPPCHAR_T, CPP_OPTION (pfile, wchar_precision));
+              "CPP on this host cannot handle wide character constants over %lu bits, but the target requires %lu bits",
+              (unsigned long)BITS_PER_CPPCHAR_T,
+              (unsigned long)CPP_OPTION (pfile, wchar_precision));
 }
 #else
 # define sanity_checks(PFILE)