With the following configure options and building after a make clean, I see a 
lot of warnings about old-style casts:


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