Skip to content

Commit

Permalink
workaround for which is probably a compiler-bug on OpenVMS-AXP
Browse files Browse the repository at this point in the history
  • Loading branch information
joukj committed Jan 7, 2021
1 parent 86c1fe4 commit 003d24d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
7 changes: 5 additions & 2 deletions descrip.mms
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# *
# Make file for VMS *
# Author : J.Jansen ([email protected]) *
# Date : 3 February 2016 *
# Date : 6 January 2021 *
# *
#*****************************************************************************
.first
Expand Down Expand Up @@ -157,7 +157,10 @@ gtk : [.include.wx]setup.h
set default [-.widgets]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)
set default [--.tests]
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1)/ignore=warning
if (f$getsyi("ARCH_NAME") .eqs. "IA64" ) then\
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1,ITANIUM=1)/ignore=warning
if (f$getsyi("ARCH_NAME") .eqs. "Alpha" ) then\
$(MMS)$(MMSQUALIFIERS)/macro=(__WXGTK__=1,ALPHA=1)/ignore=warning
set default [-]

gtk2 : [.include.wx]setup.h
Expand Down
11 changes: 10 additions & 1 deletion tests/descrip.mms
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# *
# Make file for VMS *
# Author : J.Jansen ([email protected]) *
# Date : 30 November 2017 *
# Date : 6 January 2021 *
# *
#*****************************************************************************
.first
Expand Down Expand Up @@ -280,7 +280,16 @@ test_datetimetest.obj : [.datetime]datetimetest.cpp
[.datetime]datetimetest.cpp

test_evthandler.obj : [.events]evthandler.cpp
.ifdef ALPHA
pipe gsed\
-e "s/handler.Connect(wxEVT_THREAD, wxThreadEventHandler(MyHandler::OnOverloadedHandler));//"\
-e "s/handler.Connect(wxEVT_IDLE, wxIdleEventHandler(MyHandler::OnOverloadedHandler));//" \
< [.events]evthandler.cpp > [.events]evthandler.cpp_
$(CXXC) /object=[]$@ $(TEST_CXXFLAGS) [.events]evthandler.cpp_
delete [.events]evthandler.cpp_;*
.else
$(CXXC) /object=[]$@ $(TEST_CXXFLAGS) [.events]evthandler.cpp
.endif

test_evtsource.obj : [.events]evtsource.cpp
$(CXXC) /object=[]$@ $(TEST_CXXFLAGS) [.events]evtsource.cpp
Expand Down

0 comments on commit 003d24d

Please sign in to comment.