diff src/ChangeLog @ 4531:b58af9a9765d bytecomp-coding-system-2008-10-29

ChangeLogs for G++ warning cleanup.
author Stephen J. Turnbull <stephen@xemacs.org>
date Sun, 02 Nov 2008 03:59:54 +0900
parents 8418d1ad4944
children 16906fefc8df
line wrap: on
line diff
--- a/src/ChangeLog	Sun Nov 02 03:11:29 2008 +0900
+++ b/src/ChangeLog	Sun Nov 02 03:59:54 2008 +0900
@@ -1,3 +1,73 @@
+2008-11-02  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	G++ 4.3 complains a lot about implicit conversions of string
+	literals (const char *) to char *.  Shut it up.
+
+	* console-x.h:
+	* EmacsFrame.c:
+	* EmacsManager.c:
+	* EmacsShell-sub.c:
+	#include ../lwlib/xt-wrappers.h.
+	Cast class name to String.
+	Cast action names to String.
+	Rewrite resources to use Xt_RESOURCE.
+
+	* console-x.h:
+	Move Xt_SET_VALUE and Xt_GET_VALUE to ../lwlib/xt-wrappers.h.
+
+	* console-x.h (describe_XRectangle):
+	* input-method-xlib.c (describe_XRectangle):
+	* emacs.c (argmatch):
+	* emacs.c (check_compatible_window_system):
+	* emodules.c (Fload_module):
+	* emodules.c (Funload_module):
+	* event-stream.c (external_debugging_print_event):
+	* file-coding.h (struct subsidiary_type):
+	* file-coding.c (struct subsidiary_type):
+	* file-coding.c (setup_eol_coding_systems):
+	* file-coding.c (make_coding_system_1):
+	* file-coding.c (make_internal_coding_system):
+	* gif_io.c (GifErrorString:
+	* gif_io.c (GetGifError):
+	* input-method-xlib.c (XIM_init_frame):
+	* mule-coding.c (ccl_putprop):
+	* print.c (printing_major_badness):
+	* redisplay.c (generate_fstring_runes):
+	Declare String or char * argument or variable as const.
+
+	* EmacsFrame.c (EmacsFrameSetCharSize):
+	* EmacsShell-sub.c (update_size_hints_internal):
+	* EmacsShell-sub.c (SuperClassRootGeometryManager):
+	* device-x.c (emacs_options):
+	* device-x.c (compute_x_app_name):
+	* device-x.c (have_xemacs_resources_in_xrdb):
+	* device-x.c (x_init_device):
+	* event-Xt.c (x_fallback_resources):
+	* event-Xt.c (widgetActionsList):
+	* event-Xt.c (emacs_Xt_event_add_widget_actions):
+	* frame-x.c (x_wm_set_cell_size):
+	* frame-x.c (x_wm_set_variable_size):
+	* frame-x.c (x_set_frame_text_value):
+	* frame-x.c (x_initialize_frame_size):
+	* frame-x.c (x_create_widgets):
+	* frame-x.c (x_set_frame_icon):
+	* frame-x.c (x_set_frame_position):
+	* frame-x.c (x_update_frame_external_traits):
+	* glyphs-x.c (x_redisplay_widget):
+	* glyphs-x.c (update_tab_widget_face):
+	* glyphs-x.c (x_widget_instantiate):
+	* glyphs-x.c (x_button_instantiate):
+	* glyphs-x.c (x_progress_gauge_redisplay):
+	* glyphs-x.c (x_tab_control_redisplay):
+	* menubar-x.c (make_dummy_xbutton_event):
+	Use Xt_SET_ARG, Xt_SET_VALUE, and Xt_GET_VALUE instead of raw Xt
+	equivalents.
+	Declare String or char * argument or local variable as const.
+	Cast string literals to char* (or equivalent).
+
+	* input-method-xlib.c:
+	Use Xt_RESOURCE.
+
 2008-11-01  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* regex.c (re_search_2): Fix at_dot by changing charpos to bytepos.