]>
Commit | Line | Data |
---|---|---|
98e1ed23 JR |
1 | --- gcc-4.6.2/libcpp/expr.c~ 2011-04-29 00:39:59.000000000 +0200 |
2 | +++ gcc-4.6.2/libcpp/expr.c 2012-12-07 22:38:30.102991906 +0100 | |
3 | @@ -434,9 +434,9 @@ | |
4 | : N_("use of C99 long long integer constant"); | |
5 | ||
6 | if (CPP_OPTION (pfile, c99)) | |
7 | - cpp_warning (pfile, CPP_W_LONG_LONG, message); | |
8 | + cpp_warning (pfile, CPP_W_LONG_LONG, "%s", message); | |
9 | else | |
10 | - cpp_pedwarning (pfile, CPP_W_LONG_LONG, message); | |
11 | + cpp_pedwarning (pfile, CPP_W_LONG_LONG, "%s", message); | |
12 | } | |
13 | ||
14 | result |= CPP_N_INTEGER; | |
e6d2a59a JR |
15 | --- gcc-4.6.2/libcpp/macro.c~ 2010-09-29 16:49:14.000000000 +0200 |
16 | +++ gcc-4.6.2/libcpp/macro.c 2012-12-07 22:45:54.119642910 +0100 | |
17 | @@ -1761,7 +1761,7 @@ | |
18 | function-like macros, but not at the end. */ | |
19 | if (following_paste_op) | |
20 | { | |
21 | - cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg); | |
22 | + cpp_error (pfile, CPP_DL_ERROR, "%s", paste_op_error_msg); | |
23 | return false; | |
24 | } | |
25 | break; | |
26 | @@ -1774,7 +1774,7 @@ | |
27 | function-like macros, but not at the beginning. */ | |
28 | if (macro->count == 1) | |
29 | { | |
30 | - cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg); | |
31 | + cpp_error (pfile, CPP_DL_ERROR, "%s", paste_op_error_msg); | |
32 | return false; | |
33 | } | |
34 | ||
52070b80 JR |
35 | --- gcc-4.6.2/gcc/lto-wrapper.c~ 2011-02-01 15:42:08.000000000 +0100 |
36 | +++ gcc-4.6.2/gcc/lto-wrapper.c 2012-12-07 22:52:38.609628642 +0100 | |
37 | @@ -181,10 +181,10 @@ | |
38 | if (err != 0) | |
39 | { | |
40 | errno = err; | |
41 | - fatal_perror (errmsg); | |
42 | + fatal_perror ("%s", errmsg); | |
43 | } | |
44 | else | |
45 | - fatal (errmsg); | |
46 | + fatal ("%s", errmsg); | |
47 | } | |
48 | ||
49 | return pex; | |
9aaa16cd JR |
50 | --- gcc-4.6.2/gcc/dwarf2asm.c~ 2010-12-04 23:01:32.000000000 +0100 |
51 | +++ gcc-4.6.2/gcc/dwarf2asm.c 2012-12-07 23:00:36.922945101 +0100 | |
52 | @@ -167,7 +167,7 @@ | |
53 | #ifndef ASM_OUTPUT_DWARF_VMS_DELTA | |
54 | /* VMS Delta is only special on ia64-vms, but this funtion also gets | |
55 | called on alpha-vms so it has to do something sane. */ | |
56 | - dw2_asm_output_delta (size, lab1, lab2, comment); | |
57 | + dw2_asm_output_delta (size, lab1, lab2, "%s", comment); | |
58 | #else | |
59 | ASM_OUTPUT_DWARF_VMS_DELTA (asm_out_file, size, lab1, lab2); | |
60 | if (flag_debug_asm && comment) |