>> Delphi mode I can't use p(1.0) and I can't use p(Single(1.0)) too. > > Add a new overload for extended and it compiles also in delphi mode. > > Bug report 2129 is the source that single(1.0) typecasts does not work as > expected. A solution can be to do conversion for float constants.
Conversion is now done for float constants. Hope that solves the problem _______________________________________________ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel
