-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation warnings #96
Comments
No, you don't need anything special on Mac. We don see these warnings in TeamCity... Must be defaults of new clang, which version are you using? |
Do you pass extra CXXFLAGS? |
Hi Lukasz, I do pass the CMAKE_CXX_FLAGS from ROOT to it. I am using the ExternalProject like this: ExternalProject_Add( This produces the following configuration command: cmake -DCMAKE_INSTALL_PREFIX:PATH=/Users/mato/Development/ROOT/root.master -DCMAKE_C_COMPILER=/Users/mato/Development/clang “-DCMAKE_C_FLAGS= -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments" -DCMAKE_CXX_COMPILER=/Users/mato/Development/clang++ "-DCMAKE_CXX_FLAGS= -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -stdlib=libc++" "-GUnix Makefiles" /Users/mato/Development/ROOT/root.master/XROOTD-prefix/src/XROOTD Cheers, Pere On 14 Mar 2014, at 16:44, Lukasz Janyst <notifications@github.commailto:notifications@github.com> wrote: Do you pass extra CXXFLAGS? — Pere Mato CERN, PH Department, CH 1211 Geneva 23, Switzerland |
Yup, that's the reason. This warning is rather silly, but we will likely fix all this stuff gradually in 4.x anyways. BTW. Why are you compiling XRootD with ROOT? The agreement was that it will be treated as an external dependency? Lukasz |
Hi Lukasz, It is used as external by default in the CMake build. But, if you configure with builtin_xrootd=ON then I download it and I build as external project at the same time as ROOT. Pere On 14 Mar 2014, at 17:13, Lukasz Janyst <notifications@github.commailto:notifications@github.com> wrote: Yup, that's the reason. This warning is rather silly, but we will likely fix all this stuff gradually in 4.x anyways. BTW. Why are you compiling XRootD with ROOT? The agreement was that it will be treated as an external dependency? Lukasz — Pere Mato CERN, PH Department, CH 1211 Geneva 23, Switzerland |
OK, thanks for the clarification. Is it possible for you to add something like |
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 Cheers, Pere On 14 Mar 2014, at 17:20, Lukasz Janyst <notifications@github.commailto:notifications@github.com> wrote: OK, thanks for the clarification. Is it possible for you to add something like -Wno-unused-parameter to CXXFLAGS for the time being? — Pere Mato CERN, PH Department, CH 1211 Geneva 23, Switzerland |
Hi Pere, yes, we are aware about the other warnings. They are a result of recent change (and deprecation) of some of the ssl and kerberos APIs which affect our security plug-ins. These need to be investigated further and we will most likely need to rewrite this code. Cheers, |
I believe these issues have been resolved. |
When compiling version 3.3.6 on MacOSX 10.9 with clang I get zillions of warnings as the attached ones.
Do I need to configure specially?
Cheers,
Pere
The text was updated successfully, but these errors were encountered: