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

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 19 15:41:40 GMT 2020


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

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Eric Botcazou <ebotcazou@gcc.gnu.org>:

https://gcc.gnu.org/g:2729378d0905a04e476a8bdcaaf0288f417810ec

commit r11-5170-g2729378d0905a04e476a8bdcaaf0288f417810ec
Author: Eric Botcazou <ebotcazou@adacore.com>
Date:   Thu Nov 19 16:39:34 2020 +0100

    Fix PR ada/97805

    We need to include limits.h (or <climits>) in adaint.c because of
LLONG_MIN.

    gcc/ada/ChangeLog:
            PR ada/97805
            * adaint.c: Include climits in C++ and limits.h otherwise.


More information about the Gcc-bugs mailing list