[Spice-devel] [PATCH v2 2/2] Fix clang build error on missing

2018-07-17 Thread Christophe de Dinechin
From: Christophe de Dinechin Using errno requires . Some platforms/compilers are stricter than others in this respect. frame-log.cpp:27:96: error: use of undeclared identifier 'errno' throw Error(std::string("Failed to open log file '") + log_name + "': " + strerror(errno)); Signed-

Re: [Spice-devel] [PATCH v2 2/2] Fix clang build error on missing

2018-07-18 Thread Christophe Fergeau
On Tue, Jul 17, 2018 at 05:56:15PM +0200, Christophe de Dinechin wrote: > From: Christophe de Dinechin > > Using errno requires . Some platforms/compilers > are stricter than others in this respect. > > frame-log.cpp:27:96: error: use of undeclared identifier 'errno' >throw Error(std

Re: [Spice-devel] [PATCH v2 2/2] Fix clang build error on missing

2018-07-18 Thread Frediano Ziglio
> > On Tue, Jul 17, 2018 at 05:56:15PM +0200, Christophe de Dinechin wrote: > > From: Christophe de Dinechin > > > > Using errno requires . Some platforms/compilers > > are stricter than others in this respect. > > > > frame-log.cpp:27:96: error: use of undeclared identifier 'errno' > >

Re: [Spice-devel] [PATCH v2 2/2] Fix clang build error on missing

2018-07-18 Thread Lukáš Hrázký
On Wed, 2018-07-18 at 04:57 -0400, Frediano Ziglio wrote: > > > > On Tue, Jul 17, 2018 at 05:56:15PM +0200, Christophe de Dinechin wrote: > > > From: Christophe de Dinechin > > > > > > Using errno requires . Some platforms/compilers > > > are stricter than others in this respect. > > > > > > fr