This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
New build warning: implicit declaration of function âasprintfâ when building lto-plugin.o
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: GCC Development <gcc at gcc dot gnu dot org>
- Cc: Andrew MacLeod <amacleod at redhat dot com>
- Date: Mon, 29 Jun 2015 13:24:55 +0200
- Subject: New build warning: implicit declaration of function âasprintfâ when building lto-plugin.o
- Authentication-results: sourceware.org; auth=none
Hello!
Recent commit introduced following build warning:
/home/uros/gcc-svn/trunk/lto-plugin/lto-plugin.c: In function
âclaim_file_handlerâ:
/home/uros/gcc-svn/trunk/lto-plugin/lto-plugin.c:930:16: warning:
implicit declaration of function âasprintfâ
[-Wimplicit-function-declaration]
t = hi ? asprintf (&objname, "%s@0x%x%08x", file->name, lo, hi)
I'll speculate that this is due to recent header reorganisation. Author CC'd.
Uros.