public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/63694] New: [5.0 Regression] Build error compiling asan.c: strtoull undeclared
@ 2014-10-31  1:41 danglin at gcc dot gnu.org
  2014-10-31  2:42 ` [Bug other/63694] " danglin at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-10-31  1:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63694
           Summary: [5.0 Regression] Build error compiling asan.c:
                    strtoull undeclared
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
              Host: hppa2.0w-hp-hpux11.11
            Target: hppa2.0w-hp-hpux11.11
             Build: hppa2.0w-hp-hpux11.11

g++ -c   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables
-
W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wmissing-format-
attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wn
o-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc
-I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include
-I/opt/gnu/gcc/gmp/include  -I../../gcc/gcc/../libdecnumber
-I../../gcc/gcc/../libdecnu
mber/dpd -I../libdecnumber -I../../gcc/gcc/../libbacktrace    -o asan.o -MT
asan.o -MMD -MP -MF ./.deps/asan.TPo ../../gcc/gcc/asan.c
../../gcc/gcc/asan.c: In function 'bool set_asan_shadow_offset(const char*)':
../../gcc/gcc/asan.c:267:53: error: 'strtoull' was not declared in this scope
../../gcc/gcc/asan.c:267:53: note: suggested alternative:In file included from
/home/gnu/gcc/gcc-4.7/bin/../lib/gcc/hppa2.0w-hp-hpux11.11/4.7.2/../../../../include/c++/4.7.2/hppa2.0w-hp-hpux11.11/bits/c++config.h:414:
0,
                 from
/home/gnu/gcc/gcc-4.7/bin/../lib/gcc/hppa2.0w-hp-hpux11.11
/4.7.2/../../../../include/c++/4.7.2/cstring:43,
                 from ../../gcc/gcc/system.h:211,
                 from ../../gcc/gcc/asan.c:23:
/home/gnu/gcc/gcc-4.7/bin/../lib/gcc/hppa2.0w-hp-hpux11.11/4.7.2/../../../../inc
lude/c++/4.7.2/hppa2.0w-hp-hpux11.11/bits/os_defines.h:69:36: note:  
'std::strt
oull'
make[3]: *** [asan.o] Error 1


bool
set_asan_shadow_offset (const char *val)
{
  char *endp;

  errno = 0;
#ifdef HAVE_LONG_LONG
  asan_shadow_offset_value = strtoull (val, &endp, 0);
#else
  asan_shadow_offset_value = strtoul (val, &endp, 0);
#endif

Maybe asan.c should include "libiberty.h"


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-11-22 20:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-31  1:41 [Bug other/63694] New: [5.0 Regression] Build error compiling asan.c: strtoull undeclared danglin at gcc dot gnu.org
2014-10-31  2:42 ` [Bug other/63694] " danglin at gcc dot gnu.org
2014-10-31  9:47 ` rguenth at gcc dot gnu.org
2014-10-31 10:54 ` y.gribov at samsung dot com
2014-10-31 12:44 ` dave.anglin at bell dot net
2014-10-31 20:23 ` dave.anglin at bell dot net
2014-11-05 20:30 ` dave.anglin at bell dot net
2014-11-20 12:45 ` rguenth at gcc dot gnu.org
2014-11-20 13:40 ` y.gribov at samsung dot com
2014-11-20 17:23 ` dave.anglin at bell dot net
2014-11-22 20:54 ` danglin at gcc dot gnu.org
2014-11-22 20:58 ` danglin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).