workaround for which is probably a compiler-bug on OpenVMS-AXP

This commit is contained in:
Jouk 2021-01-07 09:47:46 +01:00
parent 86c1fe4c79
commit 003d24d3c1
2 changed files with 15 additions and 3 deletions

View File

@ -2,7 +2,7 @@
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 3 February 2016 *
# Date : 6 January 2021 *
# *
#*****************************************************************************
.first
@ -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

View File

@ -2,7 +2,7 @@
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Date : 30 November 2017 *
# Date : 6 January 2021 *
# *
#*****************************************************************************
.first
@ -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