Print

Print


Hi,

I'm just trying to do the first build of head on f-18 and get:
[ 13%] /home/matevz/xrd-dev/xrootd/src/XrdOuc/XrdOucSid.cc: In member function 'bool XrdOucSid::Obtain(XrdOucSid::theSid*)':
/home/matevz/xrd-dev/xrootd/src/XrdOuc/XrdOucSid.cc:75:71: error: narrowing conversion of '136' from 'int' to 'const char' inside { } is ill-formed in C++11 [-Werror=narrowing][ 13%]
/home/matevz/xrd-dev/xrootd/src/XrdOuc/XrdOucSid.cc: In member function 'bool XrdOucSid::Release(XrdOucSid::theSid*)':
/home/matevz/xrd-dev/xrootd/src/XrdOuc/XrdOucSid.cc:118:71: error: narrowing conversion of '128' from 'int' to 'const char' inside { } is ill-formed in C++11 [-Werror=narrowing]

Then there are many more errors like this.

Should I just change compiler options and be happy?

Cheers,
Matevz

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1