Data.table: Compiler warning on platform: armv8l-unknown-linux-gnueabi (32-bit)

Created on 8 Dec 2019  路  3Comments  路  Source: Rdatatable/data.table

gcc I"/data/data/com.termux/files/usr/lib/R/include" -DNDEBUG -I/data/data/com.termux/files/usr/include -fopenmp -fpic -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -c freadR.c -o freadR.o In file included from fread.c:28: ./freadLookups.h:31:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-350L, ^ ./freadLookups.h:32:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-349L, ^ ./freadLookups.h:33:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-348L, ^ ./freadLookups.h:34:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-347L, ^ ./freadLookups.h:35:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-346L, ^ ./freadLookups.h:36:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-345L, ^ ./freadLookups.h:37:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-344L, ^ ./freadLookups.h:38:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-343L, ^ ./freadLookups.h:39:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-342L, ^ ./freadLookups.h:40:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-341L, ^ ./freadLookups.h:41:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-340L, ^ ./freadLookups.h:42:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-339L, ^ ./freadLookups.h:43:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-338L, ^ ./freadLookups.h:44:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-337L, ^ ./freadLookups.h:45:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-336L, ^ ./freadLookups.h:46:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-335L, ^ ./freadLookups.h:47:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-334L, ^ ./freadLookups.h:48:1: warning: magnitude of floating-point constant too small for type 'long double'; minimum is 4.9406564584124654E-324 [-Wliteral-range] 1.0E-333L, ^

platform-specific

Most helpful comment

This is somewhat-concidentally fixed by #4165.

All 3 comments

Maybe we can set/unset DBL_MIN to 1e-350 to define the pow10lookup?

https://trac.openmodelica.org/OpenModelica/ticket/4713

This is somewhat-concidentally fixed by #4165.

Yes I think you are right. I noticed it as well but I was not sure.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nachti picture nachti  路  3Comments

mattdowle picture mattdowle  路  3Comments

st-pasha picture st-pasha  路  3Comments

andschar picture andschar  路  3Comments

alex46015 picture alex46015  路  3Comments