Bug Tracker item #3514162, was opened at 2012-04-02 07:45
Message generated for change (Tracker Item Submitted) made by hramrach
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3514162&group_id=254363

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Windows version
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Michal Suchanek (hramrach)
Assigned to: Peter Åstrand (astrand)
Summary: C++ compile error

Initial Comment:
Patch required to build trunk with mingw besides the .def file problem:

Index: trunk/win/winvnc/JavaViewer.cxx
>> windows.h needs to be included after winsocks2.h
===================================================================
--- trunk/win/winvnc/JavaViewer.cxx     (revision 4879)
+++ trunk/win/winvnc/JavaViewer.cxx     (working copy)
@@ -16,13 +16,13 @@
  * USA.
  */
 
-#include <windows.h>
 #include <winvnc/JavaViewer.h>
 #include <winvnc/resource.h>
 #include <rdr/MemInStream.h>
 #include <rfb/LogWriter.h>
 #include <rfb/VNCServerST.h>
 #include <rfb_win32/TCharArray.h>
+#include <windows.h>
 
 #define strcasecmp _stricmp
 
Index: trunk/vncviewer/vncviewer.cxx
>> Not a member. Perhaps wrong placement of ifdef?
===================================================================
--- trunk/vncviewer/vncviewer.cxx       (revision 4879)
+++ trunk/vncviewer/vncviewer.cxx       (working copy)
@@ -137,7 +137,7 @@
                         GetSystemMetrics(SM_CYSMICON),
                         LR_DEFAULTCOLOR | LR_SHARED);
 
-  Fl_Window::default_icons(lg, sm);
+  //Fl_Window::default_icons(lg, sm);
 #elif ! defined(__APPLE__)
   const int icon_sizes[] = {48, 32, 24, 16};
 


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3514162&group_id=254363

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to