[Bug ada/97805] New: adaint.c:1488:12: note: 'LLONG_MIN' is defined in header '<cli mits>'; did you forget to '#include <climits>'?

danglin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 12 00:10:04 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97805

            Bug ID: 97805
           Summary: adaint.c:1488:12: note: 'LLONG_MIN' is defined in
                    header '<cli mits>'; did you forget to '#include
                    <climits>'?
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa2.0w-hp-hpux11.11
            Target: hppa2.0w-hp-hpux11.11
             Build: hppa2.0w-hp-hpux11.11

g++ -std=c++11  -fno-PIE -c  -DIN_GCC_FRONTEND -g -DIN_GCC     -fno-exceptions
-
fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-W
cast-qual -Wno-format -mdisable-indexing -Wmissing-format-attribute
-Woverloaded
-virtual -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-fno-common
  -DHAVE_CONFIG_H -I. -Iada -I../../gcc/gcc -I../../gcc/gcc/ada
-I../../gcc/gcc/
../include -I../../gcc/gcc/../libcpp/include -I/opt/gnu/gcc/gmp/include 
-I../..
/gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber
-
I../../gcc/gcc/../libbacktrace   -o ada/argv.o -MT ada/argv.o -MMD -MP -MF
ada/.
deps/argv.TPo ../../gcc/gcc/ada/argv.c
../../gcc/gcc/ada/adaint.c: In function 'long long int
__gnat_file_time(char*)':
../../gcc/gcc/ada/adaint.c:1488:12: error: 'LLONG_MIN' was not declared in this
scope
     return LLONG_MIN;
            ^~~~~~~~~
../../gcc/gcc/ada/adaint.c:1488:12: note: 'LLONG_MIN' is defined in header
'<cli
mits>'; did you forget to '#include <climits>'?
../../gcc/gcc/ada/adaint.c:239:1:
+#include <climits>


More information about the Gcc-bugs mailing list