From ef0ed19e9dbccdd06f3cab3cf3145cb92fb2b6de Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Thu, 25 Jul 2002 13:18:52 +0000 Subject: [PATCH] Committing in . Updated OpenVMS compile support: setip.h_vms : added definition of wxExplicit descrip.mms : added msgout.cpp utilsunx.cpp : supressed unreacheable code warning in one routine by OpenVMS only #pragma's. Modified Files: wxWindows/setup.h_vms wxWindows/src/common/descrip.mms wxWindows/src/unix/utilsunx.cpp ---------------------------------------------------------------------- git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- setup.h_vms | 5 +++++ src/common/descrip.mms | 3 +++ src/unix/utilsunx.cpp | 6 ++++++ 3 files changed, 14 insertions(+) diff --git a/setup.h_vms b/setup.h_vms index 4aa0e67498..3216cd9b7f 100644 --- a/setup.h_vms +++ b/setup.h_vms @@ -140,6 +140,11 @@ */ #define HAVE_BOOL +/* + * Define if your compiler supports the explicit keyword + */ +#define HAVE_EXPLICIT 1 + /* * Use regex support */ diff --git a/src/common/descrip.mms b/src/common/descrip.mms index a4a2fdc2c2..ff2d324571 100644 --- a/src/common/descrip.mms +++ b/src/common/descrip.mms @@ -119,6 +119,7 @@ OBJECTS1=fs_inet.obj,\ menucmn.obj,\ mimecmn.obj,\ module.obj,\ + msgout.obj,\ mstream.obj,\ nbkbase.obj,\ object.obj,\ @@ -240,6 +241,7 @@ SOURCES = \ menucmn.cpp,\ mimecmn.cpp,\ module.cpp,\ + msgout.cpp,\ mstream.cpp,\ nbkbase.cpp,\ object.cpp,\ @@ -399,6 +401,7 @@ memory.obj : memory.cpp menucmn.obj : menucmn.cpp mimecmn.obj : mimecmn.cpp module.obj : module.cpp +msgout.obj : msgout.cpp mstream.obj : mstream.cpp nbkbase.obj : nbkbase.cpp object.obj : object.cpp diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index c7f527e9b2..97f764b829 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -582,6 +582,9 @@ private: // ---------------------------------------------------------------------------- // wxExecute: the real worker function // ---------------------------------------------------------------------------- +#ifdef __VMS +#pragma message disable codeunreachable +#endif long wxExecute(wxChar **argv, int flags, @@ -847,6 +850,9 @@ long wxExecute(wxChar **argv, return ERROR_RETURN_CODE; } +#ifdef __VMS +#pragma message enable codeunreachable +#endif #undef ERROR_RETURN_CODE #undef ARGS_CLEANUP -- 2.45.2