[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [RFC PATCH 1/3] build: use gnulib func module



Guarantee linkage even for non-gcc that lack __func__.

Meanwhile, our use of gcc's __FUNCTION__ instead of C99 __func__ may
be worth a global search-and-replace.

* bootstrap.conf (gnulib_modules): Add func.
---

In general, it's nicer to write standards-compliant code than
to rely on gcc-specific names; should I do the replacement to
use __func__?

 bootstrap.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/bootstrap.conf b/bootstrap.conf
index 1e193d9..7bd0f80 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -27,6 +27,7 @@ close
 connect
 count-one-bits
 dirname-lgpl
+func
 getaddrinfo
 gethostname
 getpass
-- 
1.7.0.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]