Revision: 4491
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4491&view=rev
Author:   dcommander
Date:     2011-06-10 17:29:35 +0000 (Fri, 10 Jun 2011)

Log Message:
-----------
Fix HAVE_FLTK_DEAD_KEYS test

Modified Paths:
--------------
    trunk/CMakeLists.txt

Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt        2011-06-10 13:05:09 UTC (rev 4490)
+++ trunk/CMakeLists.txt        2011-06-10 17:29:35 UTC (rev 4491)
@@ -204,7 +204,7 @@
   set(CMAKE_REQUIRED_LIBRARIES ${FLTK_LIBRARIES})
 
   # FLTK STR #2599
-  check_cxx_source_compiles("#include <FL/Fl_Widget.H>\nint main(int c, char** 
v) { void *foo = (void*)&Fl_Widget::set_simple_keyboard; return 0; }" 
HAVE_FLTK_DEAD_KEYS)
+  check_cxx_source_compiles("#include <FL/Fl_Widget.H>\nint main(int c, char** 
v) { void (Fl_Widget::*foo)() = &Fl_Widget::set_simple_keyboard; return 0; }" 
HAVE_FLTK_DEAD_KEYS)
 
   # FLTK STR #2636
   check_cxx_source_compiles("#include <FL/Fl.H>\nint main(int c, char** v) { 
Fl::add_clipboard_notify(NULL, NULL); return 0; }" HAVE_FLTK_CLIPBOARD)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to