Print

Print


Hi Pere,

What I meant was the default options that are enabled in gcc 7.1 are pedantic like -Werror=format-truncation. Now, that said, I checked and found that all these issues were fixed in 4.6.0 (you are using 4.5.0 with gcc 7.1). I would recommend switching to 4.6.1 which is the latest release and is the best one we have.

Andy

From: Pere Mato 
Sent: Tuesday, May 09, 2017 1:12 AM
To: xrootd/xrootd 
Cc: Subscribed 
Subject: Re: [xrootd/xrootd] Build errors with gcc 7.1 (#514)

Hi Andy,
I am not sure what options are you referring. Looking at the recipe this is the way to build it in the LCG stack:

LCGPackage_Add(
  xrootd
  URL ${GenURL}/xrootd-${xrootd_native_version}.tar.gz
  CMAKE_CACHE_ARGS -DCMAKE_PREFIX_PATH:STRING=${Python_home}
  CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
             -DENABLE_PERL=FALSE
             -DENABLE_FUSE=FALSE
             -DENABLE_CRYPTO=TRUE
             -DENABLE_KRB5=TRUE
             -DENABLE_READLINE=TRUE
  DEPENDS Python
)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/514#issuecomment-300321946
########################################################################
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