mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
2.2 KiB

  1. The usual gcc-3.4 fixes.
  2. - Rene Rebe <rene@rocklinux.org>
  3. diff -ur glib-1.2.10-orig/gstrfuncs.c glib-1.2.10/gstrfuncs.c
  4. --- glib-1.2.10-orig/gstrfuncs.c 2001-02-27 07:00:22.000000000 +0100
  5. +++ glib-1.2.10/gstrfuncs.c 2004-05-04 16:05:28.000000000 +0200
  6. @@ -867,8 +867,7 @@
  7. /* beware of positional parameters
  8. */
  9. case '$':
  10. - g_warning (G_GNUC_PRETTY_FUNCTION
  11. - "(): unable to handle positional parameters (%%n$)");
  12. + g_warning ("%s(): unable to handle positional parameters (%%n$), G_GNUC_PRETTY_FUNCTION");
  13. len += 1024; /* try adding some safety padding */
  14. break;
  15. @@ -1034,8 +1033,7 @@
  16. /* n . dddddddddddddddddddddddd E +- eeee */
  17. conv_len += 1 + 1 + MAX (24, spec.precision) + 1 + 1 + 4;
  18. if (spec.mod_extra_long)
  19. - g_warning (G_GNUC_PRETTY_FUNCTION
  20. - "(): unable to handle long double, collecting double only");
  21. + g_warning ("%s(): unable to handle long double, collecting double only", G_GNUC_PRETTY_FUNCTION);
  22. #ifdef HAVE_LONG_DOUBLE
  23. #error need to implement special handling for long double
  24. #endif
  25. @@ -1077,8 +1075,7 @@
  26. conv_done = TRUE;
  27. if (spec.mod_long)
  28. {
  29. - g_warning (G_GNUC_PRETTY_FUNCTION
  30. - "(): unable to handle wide char strings");
  31. + g_warning ("%s(): unable to handle wide char strings", G_GNUC_PRETTY_FUNCTION);
  32. len += 1024; /* try adding some safety padding */
  33. }
  34. break;
  35. @@ -1108,8 +1105,8 @@
  36. conv_len += format - spec_start;
  37. break;
  38. default:
  39. - g_warning (G_GNUC_PRETTY_FUNCTION
  40. - "(): unable to handle `%c' while parsing format",
  41. + g_warning ("%s(): unable to handle `%c' while parsing format",
  42. + G_GNUC_PRETTY_FUNCTION,
  43. c);
  44. break;
  45. }