[COMMITTED PATCH] gold: missing "libiberty.h" include for vasprintf use.
Roland McGrath
mcgrathr@google.com
Thu Nov 1 18:16:00 GMT 2012
More information about the Binutils mailing list
Thu Nov 1 18:16:00 GMT 2012
- Previous message (by thread): cleanup PT_GNU_STACK size handling
- Next message (by thread): [PATCH] gold: fix some signed-unsigned comparison warnings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
When libiberty rather than the system <stdio.h> is providing the declaration for vasprintf, there is a compiler warning in gold. Committed as obvious. Thanks, Roland gold/ 2012-11-01 Roland McGrath <mcgrathr@google.com> * nacl.cc: Include "libiberty.h" for vasprintf declaration. diff --git a/gold/nacl.cc b/gold/nacl.cc index 71be4e9..b22248c 100644 --- a/gold/nacl.cc +++ b/gold/nacl.cc @@ -22,6 +22,7 @@ #include "gold.h" #include <cstdio> +#include "libiberty.h" #include "nacl.h" #include "elfcpp.h"
- Previous message (by thread): cleanup PT_GNU_STACK size handling
- Next message (by thread): [PATCH] gold: fix some signed-unsigned comparison warnings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list