bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] SVN 984 changes


From: Juergen Sauermann
Subject: Re: [Bug-apl] SVN 984 changes
Date: Sun, 6 Aug 2017 20:12:00 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Hi David,

thanks, fixed in SVN 987, It has become difficult lately to check all possible ./configure variants.
But I am working on a solution.

Best Regards,
/// Jürgen


On 08/06/2017 06:54 PM, David B. Lamkins wrote:
With the following configure options and building after a make clean, I see a lot of warnings about old-style casts:

./configure RATIONAL_NUMBERS_WANTED=yes PERFORMANCE_COUNTERS_WANTED=yes CORE_COUNT_WANTED=-3

On Sun, Aug 06, 2017 at 01:44:58PM +0200, Juergen Sauermann wrote:
Hi,

I would like to inform you about 2 changes that I made in SVN 984.

1. Use of C++ casts instead of C casts
I have replaced every old-style C cast by either a C++ cast (static_cast<>(),
reinterpret_cast<>(),
or const_cast<>()).
The reason for this change is to keep up with the changes in the C++ language.
Also, the Makefiles were changed to not allow C casts any longer.

2. APL_Float as class.
I have change the code so that one can use a class  APL_Float instead of the
previous typedef double APL_FLoat. An example class is provided in file
APL_Float_as_class.hh and the decision if a typedef or a class shall be used
is made in APL_types.hh via  #define APL_Float_is_class 0 or 1. This change
simplifies, for example, the introduction of libraries for higher precision
arithmetic.

I hope all this still compiles on your machines. Make clean and a new ./
configure is
required after SVN up.

Best Regards,
Jürgen Sauermann


    


reply via email to

[Prev in Thread] Current Thread [Next in Thread]