> > try this out with a private build Rick, can you please check in ExternalFileBuffer.hpp ? This seems missing from sandbox/rick/rexxutil
Also these patches will probably be required to build: ~~~ =================================================================== --- CMakeLists.txt (revision 11690) +++ CMakeLists.txt (working copy) @@ -260,6 +260,16 @@ set (INSTALL_MAN_DIR ${CMAKE_INSTALL_PREFIX}/share/man) endif () # Set compiler and linker flags common to all build environments +# current trunk uses the C++ "override" keyword, which requires C++11 +if (CMAKE_VERSION VERSION_LESS "3.1") + if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11") + endif () +else () + set (CMAKE_CXX_STANDARD 11) +endif () + +# Set compiler and linker flags common to all build environments include_directories(${PROJECT_BINARY_DIR}) if (WIN32) add_definitions(/DORX_VER=${ORX_MAJOR} Index: interpreter/platform/unix/ExternalFunctions.cpp =================================================================== --- interpreter/platform/unix/ExternalFunctions.cpp (revision 11690) +++ interpreter/platform/unix/ExternalFunctions.cpp (working copy) @@ -80,6 +80,7 @@ #include "SystemInterpreter.hpp" #include "PackageManager.hpp" #include "BufferClass.hpp" +#include "RexxUtilCommon.hpp" #define DRVNUM 0x40 /* drive number subtractor */ @@ -314,7 +315,7 @@ } // start with a copy of the current working directory - SystemInterpreter::getCurrentWorkingDirectory(curr_dir); + SysFileSystem::getCurrentDirectory(curr_dir); size += strlen(curr_dir); /* add the space for curr dir */ size++; /* and its terminating '\0' */ size += sizeof(size_t); /* this is for the size itself*/ Index: interpreter/platform/unix/SysFileSystem.hpp =================================================================== --- interpreter/platform/unix/SysFileSystem.hpp (revision 11690) +++ interpreter/platform/unix/SysFileSystem.hpp (working copy) @@ -49,6 +49,7 @@ #include <stdlib.h> #include <stdio.h> #include <dirent.h> +#include <errno.h> #if defined(PATH_MAX) # define MAXIMUM_PATH_LENGTH PATH_MAX + 1 ~~~
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel