The IsNaN and IsInf function implementations on PLATFORM_BSD
|Assignee:||Miroslav Fidler||% Done:|
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.
#1 Updated by Sender Ghost over 8 years ago
- Assignee set to Miroslav Fidler
#2 Updated by Miroslav Fidler over 8 years ago
- Status changed from New to Approved