Bug #491

CtrlLib: EditNumber functions on MinGW GCC

Added by Sender Ghost almost 11 years ago. Updated almost 11 years ago.

Status:ApprovedStart date:07/14/2013
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:CtrlLibSpent time:-
Target version:-

Description

The double version of EditNumber function uses DBL_MIN and DBL_MAX defines from float.h header file. There are such includes for MSC compiler on Windows and GCC compiler on Posix, but not for MinGW GCC on Windows.
Also, double version of EditNumber function is not implemented, because of int type mistake, instead of double.

491_uppsrc.diff Magnifier - The diff file to apply for uppsrc directory (1.48 KB) Sender Ghost, 07/14/2013 01:21 AM

History

#1 Updated by Sender Ghost almost 11 years ago

I fixed mentioned issues. Also removed unneeded float.h includes from Core/Format.cpp and Geom/polyalg.cpp, which includes Core/Core.h header file.

#2 Updated by Miroslav Fidler almost 11 years ago

  • Status changed from Patch ready to Approved

Thanks!

Also available in: Atom PDF