cppexp.c (cpp_classify_number): Cast precission to int for correct printf format.
* cppexp.c (cpp_classify_number): Cast precission to int for correct printf format. From-SVN: r54147
This commit is contained in:
parent
01e9ae8632
commit
91b1247259
@ -1,3 +1,8 @@
|
||||
2002-06-01 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* cppexp.c (cpp_classify_number): Cast precission to int for
|
||||
correct printf format.
|
||||
|
||||
2002-06-01 Marek Michalkiewicz <marekm@amelek.gda.pl>
|
||||
|
||||
* config/avr/avr.c (avr_mcu_types): Remove devices that were once
|
||||
@ -54,10 +59,10 @@ Sat Jun 1 11:23:22 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
|
||||
infrastructure.
|
||||
|
||||
2002-06-01 Alan Lehotsky <apl@alum.mit.edu>
|
||||
|
||||
|
||||
* except.c (nothrow_function_p): Walk epilogue delay list
|
||||
checking the insn, not the chain for potential throws.
|
||||
|
||||
|
||||
2002-05-31 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove.
|
||||
@ -186,7 +191,7 @@ Sat Jun 1 11:23:22 CEST 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
|
||||
(UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
|
||||
|
||||
2002-05-31 Alan Lehotsky <apl@alum.mit.edu>
|
||||
|
||||
|
||||
* varasm.c (mark_constant_pool): Walk epilogue delay list
|
||||
checking the insn, not the chain for potential constants.
|
||||
|
||||
|
@ -244,7 +244,7 @@ cpp_classify_number (pfile, token)
|
||||
{
|
||||
cpp_error (pfile, DL_ERROR,
|
||||
"invalid suffix \"%.*s\" on floating constant",
|
||||
limit - str, str);
|
||||
(int) (limit - str), str);
|
||||
return CPP_N_INVALID;
|
||||
}
|
||||
|
||||
@ -254,7 +254,7 @@ cpp_classify_number (pfile, token)
|
||||
&& ! cpp_sys_macro_p (pfile))
|
||||
cpp_error (pfile, DL_WARNING,
|
||||
"traditional C rejects the \"%.*s\" suffix",
|
||||
limit - str, str);
|
||||
(int) (limit - str), str);
|
||||
|
||||
result |= CPP_N_FLOATING;
|
||||
}
|
||||
@ -265,7 +265,7 @@ cpp_classify_number (pfile, token)
|
||||
{
|
||||
cpp_error (pfile, DL_ERROR,
|
||||
"invalid suffix \"%.*s\" on integer constant",
|
||||
limit - str, str);
|
||||
(int) (limit - str), str);
|
||||
return CPP_N_INVALID;
|
||||
}
|
||||
|
||||
@ -275,7 +275,7 @@ cpp_classify_number (pfile, token)
|
||||
&& ! cpp_sys_macro_p (pfile))
|
||||
cpp_error (pfile, DL_WARNING,
|
||||
"traditional C rejects the \"%.*s\" suffix",
|
||||
limit - str, str);
|
||||
(int) (limit - str), str);
|
||||
|
||||
if ((result & CPP_N_WIDTH) == CPP_N_LARGE
|
||||
&& ! CPP_OPTION (pfile, c99)
|
||||
|
Loading…
x
Reference in New Issue
Block a user