[Bug bootstrap/71013] [7 Regression] c-common.c:12810:37: error: 'LLONG_MAX' was not declared in this scope

danglin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 13 20:10:00 GMT 2016


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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|preprocessor                |bootstrap

--- Comment #6 from John David Anglin <danglin at gcc dot gnu.org> ---
I think this issue can be resolved by including <climits> instead of
<limits.h> in system.h when compiling with g++.

However, we currently assume gnu++98 in stage1 and long long support
was not added until c++11.  r235550 introduced a long long variable
which isn't guarded by HAVE_LONG_LONG.  So the change needs fixing.


More information about the Gcc-bugs mailing list