]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixes for OpenVMS on IA64
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Thu, 29 Sep 2011 13:47:38 +0000 (13:47 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Thu, 29 Sep 2011 13:47:38 +0000 (13:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/cppunit.h
tests/descrip.mms

index 9c646ff0838d138b934cf9cf187a496d43bdeb9e..23d5f3dc727201c06de93884fc0db1671b3ec290 100644 (file)
@@ -200,6 +200,10 @@ WX_CPPUNIT_ALLOW_EQUALS_TO_INT(short)
 WX_CPPUNIT_ALLOW_EQUALS_TO_INT(unsigned)
 WX_CPPUNIT_ALLOW_EQUALS_TO_INT(unsigned long)
 
+#if defined( __VMS ) && define( __ia64 )
+WX_CPPUNIT_ALLOW_EQUALS_TO_INT(std::basic_streambuf<char>::pos_type);
+#endif
+
 #ifdef wxHAS_LONG_LONG_T_DIFFERENT_FROM_LONG
 WX_CPPUNIT_ALLOW_EQUALS_TO_INT(wxLongLong_t)
 WX_CPPUNIT_ALLOW_EQUALS_TO_INT(unsigned wxLongLong_t)
index 566535e8567086a2fba59830ce0476543842aab1..78fd7e4b79be390b3ca82301e4956e801d287e01 100644 (file)
@@ -2,7 +2,7 @@
 #                                                                            *
 # Make file for VMS                                                          *
 # Author : J.Jansen (joukj@hrem.nano.tudelft.nl)                             *
-# Date : 15 December 2010                                                    *
+# Date : 28 September 2011                                                   *
 #                                                                            *
 #*****************************************************************************
 .first
@@ -49,11 +49,8 @@ CC_DEFINE =
 CXXC=cxx
 
 TEST_OBJECTS =  \
-       test_test.obj,\
        test_anytest.obj,\
        test_archivetest.obj,\
-       test_ziptest.obj,\
-       test_tartest.obj,\
        test_arrays.obj,\
        test_base64.obj,\
        test_cmdlinetest.obj,\
@@ -88,8 +85,9 @@ TEST_OBJECTS =  \
        test_misctests.obj,\
        test_module.obj,\
        test_pathlist.obj,\
-       test_typeinfotest.obj,\
-       test_ipc.obj,\
+       test_typeinfotest.obj
+
+TEST_OBJECTS1=test_ipc.obj,\
        test_socket.obj,\
        test_regextest.obj,\
        test_wxregextest.obj,\
@@ -130,9 +128,11 @@ TEST_OBJECTS =  \
        test_xlocale.obj,\
        test_xmltest.obj
 
+TEST_L_OBJs=test_ziptest.obj,\
+       test_tartest.obj
+
 TEST_GUI_OBJECTS =  \
        test_gui_asserthelper.obj,\
-       test_gui_test.obj,\
        test_gui_testableframe.obj,\
        test_gui_rect.obj,\
        test_gui_size.obj,\
@@ -145,8 +145,9 @@ TEST_GUI_OBJECTS =  \
        test_gui_bitmapcomboboxtest.obj,\
        test_gui_bitmaptogglebuttontest.obj,\
        test_gui_bookctrlbasetest.obj,\
-       test_gui_buttontest.obj,\
-       test_gui_checkboxtest.obj,\
+       test_gui_buttontest.obj
+
+TEST_GUI_OBJECTS1=test_gui_checkboxtest.obj,\
        test_gui_checklistboxtest.obj,\
        test_gui_choicebooktest.obj,\
        test_gui_choicetest.obj,\
@@ -169,8 +170,9 @@ TEST_GUI_OBJECTS =  \
        test_gui_pickertest.obj,\
        test_gui_radioboxtest.obj,\
        test_gui_radiobuttontest.obj,\
-       test_gui_rearrangelisttest.obj,\
-       test_gui_richtextctrltest.obj,\
+       test_gui_rearrangelisttest.obj
+
+TEST_GUI_OBJECTS2=test_gui_richtextctrltest.obj,\
        test_gui_slidertest.obj,\
        test_gui_spinctrldbltest.obj,\
        test_gui_spinctrltest.obj,\
@@ -207,12 +209,19 @@ TEST_GUI_OBJECTS =  \
 all : test_gtk.exe test_gui_gtk.exe
        write sys$output "tests created"
 
-test_gtk.exe : $(TEST_OBJECTS)
-       cxxlink/exec=test_gtk.exe $(TEST_OBJECTS),\
+test_gtk.exe : test_test.obj $(TEST_OBJECTS) $(TEST_OBJECTS1) $(TEST_L_OBJS)
+       library/create temp.olb $(TEST_OBJECTS)
+       library temp.olb $(TEST_OBJECTS1)
+       cxxlink/exec=test_gtk.exe test_test.obj,$(TEST_L_OBJS),temp.olb/lib,\
        sys$library:libcppunit.olb/lib,[-.lib]vms_gtk/opt
-
-test_gui_gtk.exe : $(TEST_GUI_OBJECTS)
-       cxxlink/exec=test_gui_gtk.exe $(TEST_GUI_OBJECTS),\
+       delete temp.olb;*
+
+test_gui_gtk.exe : test_gui_test.obj $(TEST_GUI_OBJECTS) $(TEST_GUI_OBJECTS1)\
+       $(TEST_GUI_OBJECTS2)
+       library/create temp.olb $(TEST_GUI_OBJECTS)
+       library temp.olb $(TEST_GUI_OBJECTS1)
+       library temp.olb $(TEST_GUI_OBJECTS2)
+       cxxlink/exec=test_gui_gtk.exe test_gui_test.obj,temp.olb/lib,\
        sys$library:libcppunit.olb/lib,[-.lib]vms_gtk/opt
 .else
 .ifdef __WXX11__