New build warning: implicit declaration of function ‘asprintf’ when building lto-plugin.o

Uros Bizjak ubizjak@gmail.com
Mon Jun 29 11:25:00 GMT 2015


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.



More information about the Gcc mailing list