Building now to make sure the changes are clean. The first two are simple,
and I'm a bit surprised no other compiler had objected to that before now.
The one in ErrorMessages.cpp, however, points to a problem in the cmake
build. That line has never caused a problem before because it is normally
not compiled. This section of code is dependent upon the HAVE_CATOPEN
define getting set by autoconf.
Rick
On Fri, May 2, 2014 at 9:49 AM, David Ashley <[email protected]>wrote:
> I am getting compile errors when I run the make. I think this is because
> CMake id forcing the use of the C++ compiler instead of the G++
> compiler.
>
> Here are a few warnings:
>
> /home/dashley/ad/svn/ooRexx/main/trunk/interpreter/api/ThreadContextStubs.cpp:
> In function ‘_RexxPackageObject* GetRoutinePackage(RexxThreadContext*,
> RexxRoutineObject)’:
> /home/dashley/ad/svn/ooRexx/main/trunk/interpreter/api/ThreadContextStubs.cpp:579:12:
> warning: converting ‘false’ to pointer type ‘RexxPackageObject {aka
> _RexxPackageObject*}’ [-Wconversion-null]
> return false;
> ^
> /home/dashley/ad/svn/ooRexx/main/trunk/interpreter/api/ThreadContextStubs.cpp:
> In function ‘_RexxPackageObject* GetMethodPackage(RexxThreadContext*,
> RexxMethodObject)’:
> /home/dashley/ad/svn/ooRexx/main/trunk/interpreter/api/ThreadContextStubs.cpp:594:12:
> warning: converting ‘false’ to pointer type ‘RexxPackageObject {aka
> _RexxPackageObject*}’ [-Wconversion-null]
> return false;
> ^
>
> Here are the errors (so far):
>
> /home/dashley/ad/svn/ooRexx/main/trunk/interpreter/platform/unix/ErrorMessages.cpp:
> In static member function ‘static RexxString*
> SystemInterpreter::getMessageText(wholenumber_t)’:
> /home/dashley/ad/svn/ooRexx/main/trunk/interpreter/platform/unix/ErrorMessages.cpp:168:32:
> error: invalid conversion from ‘char (*)[256]’ to ‘char’ [-fpermissive]
> return new_string(&DataArea);
> ^
> In file included
> from
> /home/dashley/ad/svn/ooRexx/main/trunk/interpreter/execution/RexxVariable.hpp:47:0,
> from
> /home/dashley/ad/svn/ooRexx/main/trunk/interpreter/execution/RexxVariableDictionary.hpp:47,
> from
> /home/dashley/ad/svn/ooRexx/main/trunk/interpreter/execution/RexxLocalVariables.hpp:48,
> from
> /home/dashley/ad/svn/ooRexx/main/trunk/interpreter/concurrency/RexxActivity.hpp:52,
> from
> /home/dashley/ad/svn/ooRexx/main/trunk/interpreter/runtime/RexxCore.h:242,
> from
> /home/dashley/ad/svn/ooRexx/main/trunk/interpreter/platform/unix/ErrorMessages.cpp:66:
> /home/dashley/ad/svn/ooRexx/main/trunk/interpreter/classes/StringClass.hpp:551:20:
> error: initializing argument 1 of ‘RexxString* new_string(char)’
> [-fpermissive]
> inline RexxString *new_string(char cc)
> ^
> make[2]: ***
> [CMakeFiles/rexx.dir/interpreter/platform/unix/ErrorMessages.cpp.o]
> Error 1
> make[1]: *** [CMakeFiles/rexx.dir/all] Error 2
>
> There may be more errors later as the compile stopped early in the
> build.
>
> David Ashley
>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos. Get
> unparalleled scalability from the best Selenium testing platform available.
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel