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: David B. Lamkins
Subject: Re: [Bug-apl] SVN 984 changes
Date: Sun, 6 Aug 2017 09:54:45 -0700
User-agent: Mutt/1.8.3 (2017-05-23)

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
> 

-- 
Any fool can paint a picture, but it takes a wise person to be able to sell it.



reply via email to

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