]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/glib-1.2/glib-1.2-1.2.10/gcc-3.4-pretty_function
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / glib-1.2 / glib-1.2-1.2.10 / gcc-3.4-pretty_function
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- glib-1.2.10/gstrfuncs.c~gcc-3.4-pretty_function
7 +++ glib-1.2.10/gstrfuncs.c
8 @@ -867,8 +867,7 @@
9                    /* beware of positional parameters
10                     */
11                  case '$':
12 -                  g_warning (G_GNUC_PRETTY_FUNCTION
13 -                             "(): unable to handle positional parameters (%%n$)");
14 +                  g_warning ("%s(): unable to handle positional parameters (%%n$)",G_GNUC_PRETTY_FUNCTION);
15                    len += 1024; /* try adding some safety padding */
16                    break;
17  
18 @@ -1034,8 +1033,7 @@
19                    /*          n   .   dddddddddddddddddddddddd   E   +-  eeee */
20                    conv_len += 1 + 1 + MAX (24, spec.precision) + 1 + 1 + 4;
21                    if (spec.mod_extra_long)
22 -                    g_warning (G_GNUC_PRETTY_FUNCTION
23 -                               "(): unable to handle long double, collecting double only");
24 +                    g_warning ("%s(): unable to handle long double, collecting double only",G_GNUC_PRETTY_FUNCTION);
25  #ifdef HAVE_LONG_DOUBLE
26  #error need to implement special handling for long double
27  #endif
28 @@ -1077,8 +1075,7 @@
29                    conv_done = TRUE;
30                    if (spec.mod_long)
31                      {
32 -                      g_warning (G_GNUC_PRETTY_FUNCTION
33 -                                 "(): unable to handle wide char strings");
34 +                      g_warning ( "%s(): unable to handle wide char strings",G_GNUC_PRETTY_FUNCTION);
35                        len += 1024; /* try adding some safety padding */
36                      }
37                    break;
38 @@ -1108,8 +1105,7 @@
39                    conv_len += format - spec_start;
40                    break;
41                  default:
42 -                  g_warning (G_GNUC_PRETTY_FUNCTION
43 -                             "(): unable to handle `%c' while parsing format",
44 +                  g_warning ("%s(): unable to handle `%c' while parsing format",G_GNUC_PRETTY_FUNCTION,
45                               c);
46                    break;
47                  }