Bug #1007

The IsNaN and IsInf function implementations on PLATFORM_BSD

Added by Sender Ghost over 5 years ago. Updated over 5 years ago.

Status:ApprovedStart date:03/07/2015
Priority:NormalDue date:
Assignee:Miroslav Fidler% Done:

0%

Category:CoreSpent time:-
Target version:-

Description

There is a possibility to build U++ packages with using modern GCC compilers on FreeBSD (with appropriate builder configuration, e.g. "-Wl,-rpath=/usr/local/lib/gcc48" for Release link options, or USE_GCC=yes inside of /etc/make.conf, when used inside port's system), but there are issues with IsNaN and IsInf function implementations.
Some time ago, there was applied a patch for DragonFly operating system for the same issue, where GCC v5.0 might be used. I tested GCC 4.7 and 4.8 versions on FreeBSD, which has mentioned issue also. Since DragonFly and FreeBSD have the same PLATFORM_BSD define, it could be used as a general solution, but I'm not sure about exact (lower bound) GCC version. So, current attached patch might be related for other BSD operating systems, including FreeBSD.

By the way, the LLVM/Clang reported GCC_VERSION == 40201, even for 3.6 version.

uppsrc_Core_Defs.h.diff Magnifier - The diff file to apply for uppsrc directory (558 Bytes) Sender Ghost, 03/07/2015 12:24 PM

History

#1 Updated by Sender Ghost over 5 years ago

  • Assignee set to Miroslav Fidler

#2 Updated by Miroslav Fidler over 5 years ago

  • Status changed from New to Approved

Also available in: Atom PDF