Print

Print


Hi Lukasz,

This was not sufficient. There many other warnings. I had to remove -Wall and -W and add some additional flags to disable more.

I did it like this:

string(REPLACE "-Wall " "" __cxxflags "${CMAKE_CXX_FLAGS}") # Otherwise it produces tones of warnings
string(REPLACE "-W " "" __cxxflags "${__cxxflags} -Wno-deprecated-declarations -Wno-duplicate-decl-specifier")

Cheers,

Pere


On 14 Mar 2014, at 17:20, Lukasz Janyst <[log in to unmask]<mailto:[log in to unmask]>> wrote:


OK, thanks for the clarification. Is it possible for you to add something like -Wno-unused-parameter to CXXFLAGS for the time being?


Reply to this email directly or view it on GitHub<https://github.com/xrootd/xrootd/issues/96#issuecomment-37666524>.



-------------------------------------------------------------
Pere Mato CERN, PH Department, CH 1211 Geneva 23, Switzerland
e-mail: [log in to unmask]<mailto:[log in to unmask]> tel: +41 22 76 78696
fax: +41 22 76 68792 gsm: +41 76 48 70855


Reply to this email directly or view it on GitHub.



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