Skip to content

Compiler warning on platform: armv8l-unknown-linux-gnueabi (32-bit) #4097

Closed

Description

@2005m

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, ^

Activity

  1. MichaelChirico commented on Dec 10, 2019

    @MichaelChirico
    Member

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

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

  2. QuLogic commented on Jan 30, 2020

    @QuLogic
    Contributor

    This is somewhat-concidentally fixed by #4165.

  3. 2005m commented on Jan 30, 2020

    @2005m
    ContributorAuthor

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

  4. added this to the 1.12.9 milestone on Feb 16, 2020
  5. modified the milestones: 1.12.11, 1.12.9 on May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions