
2 Mar
2016
2 Mar
'16
3:44 a.m.
On 01.03.2016 17:43, Michal Privoznik wrote:
Older compilers fail to see that 'close' is not used a function rather than a variable and produce the following error:
cc1: warnings being treated as errors ../../src/datatypes.c: In function 'virConnectCloseCallbackDataReset': ../../src/datatypes.c:149: error: declaration of 'close' shadows a global declaration [-Wshadow]
Replace all the 'close' occurrences with 'closeData' to resolve this.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com> --- src/datatypes.c | 72 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 36 insertions(+), 36 deletions(-)
Since this qualifies as a build breaker, I've pushed this one. Michal