From 671ef36117d2150c0488e88cfd439e857a88196c Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 28 Apr 2005 17:48:04 +0000 Subject: Fix MacOS X 10.4 compile issues. configure.in: - 10.4 doesn't include libsupc++.a, so we need to use g++ when compiling. src/Fl_Help_View.cxx: - Fl_Help_View::format_table(): missing initialization of font and fsize. src/Fl_Text_Buffer.cxx: - Fl_Text_Buffer::remove_rectangle(): missing initialization of endOffset. src/Fl_Gl_Window.cxx: - Fl_Gl_Window::flush(): use 0xff instead of ~0 for clear_damage() call. test/keyboard.cxx: - Apparently unnamed structs are not supported by Apple's GCC 4.0... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/keyboard.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/keyboard.cxx b/test/keyboard.cxx index c99fe2010..24801f5b2 100644 --- a/test/keyboard.cxx +++ b/test/keyboard.cxx @@ -62,7 +62,7 @@ int MyWindow::handle(int msg) { return 0; } -struct {int n; const char* text;} table[] = { +struct keycode_table{int n; const char* text;} table[] = { {FL_Escape, "FL_Escape"}, {FL_BackSpace, "FL_BackSpace"}, {FL_Tab, "FL_Tab"}, -- cgit v1.2.3