In a library I am building against, a header contains the following line :
[[deprecated("Use file back-end instantiated through ConfigurationFactory instead")]]
As a consequence I get this error :
[quote][ 93%] Building CXX object QualityControlModules/Common/src/CMakeFiles/QcCommon.dir/QcCommonDict.cxx.o
In file included from input_line_12:8:
In file included from /home/bvonhall/hackathon/QualityControlModules/Example/include/Example/BenchmarkTask.h:12:
/home/bvonhall/Configuration/lib/…/include/Configuration/Configuration.h:31:1: error: an attribute list cannot appear
here
[[deprecated(“Use file back-end instantiated through ConfigurationFactory instead”)]]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: /shareFS/flpproto_deps-9-2-17/bin/rootcling: compilation failure (./QcExampleDict416242023d_dictUmbrella.h)
[/quote]
Is it because rootcling does not support C++14 features ?
I built ROOT itself using the same compiler, gcc 6.2.1 from devtoolset-6.