From: Richard W.M. Jones Date: Mon, 20 Jun 2011 09:35:02 +0000 (+0100) Subject: Enable deprecated option only with gcc >= 4.5. X-Git-Tag: 1.11.11~1 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=9287197a85a7b51167a3b6c289a129760e6f9936;hp=9287197a85a7b51167a3b6c289a129760e6f9936 Enable deprecated option only with gcc >= 4.5. Before gcc 4.5, the deprecated option did not take the optional string argument (see [1]). This caused compilation to fail with gcc < 4.5. [1] http://gcc.gnu.org/gcc-4.5/changes.html ---