DICTPAYLOAD exceeds maximum length 65536

Hi,

I have started getting the following warning during my compilation:

[43/114] Building CXX object Framework/CMakeFiles/QualityControl.dir/G__QualityControl.cxx.o
Framework/G__QualityControl.cxx:917:38: warning: string literal of length 74627 exceeds maximum length 65536 that C++ compilers are required to support [-Woverlength-strings]
    static const char* payloadCode = R"DICTPAYLOAD(

It gets me worried.

The linkdef contains just 3 namespaces and 6 classes, nothing extravagant.

Is it something you have already seen ? something ok or something bad ?

Thank you
Barth

EDIT let me know if you want me to upload the dictionary.

_ROOT Version: 6.20.02
Platform: MacOS 10.15.6
Compiler: clang 10.0.1


Perhaps @axel or @vvassilev have seen this before. Does what comes after R"DICTPAYLOAD( in G__QualityControl.cxx gives a hint?

Thank you Jakob. It is a concatenation of all my header files.

Can you paste the rootcling invocation?

Hi,

I hope this is what you need. The build system we use in alice makes it a bit difficult to get to the actual invocation. Here it is though.

/usr/local/Cellar/cmake/3.18.2/bin/cmake -E env LD_LIBRARY_PATH=/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/lib /Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/bin/rootcling -f /Users/bvonhall/dev/alice/sw/BUILD/QualityControl-latest/QualityControl/Framework/G__QualityControl.cxx -inlineInputHeader -rmf /Users/bvonhall/dev/alice/sw/BUILD/QualityControl-latest/QualityControl/lib/libQualityControl.rootmap -rml libQualityControl.dylib -I/Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include -I/Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/src -I/Users/bvonhall/dev/alice/sw/BUILD/QualityControl-latest/QualityControl/Framework/include -I/Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/ -I/Users/bvonhall/dev/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/FairLogger/v1.8.0-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/fmt/6.1.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/FairMQ/v1.4.23-1/include/fairmq -I/Users/bvonhall/dev/alice/sw/osx_x86-64/FairMQ/v1.4.23-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/FairMQ/v1.4.23-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/FairMQ/v1.4.23-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/Common-O2/master-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/libInfoLogger/master-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/Monitoring/dev-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/Configuration/dev-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/Control-OCCPlugin/v0.16.0-1/include/Occ -I/Users/bvonhall/dev/alice/sw/osx_x86-64/grpc/v1.30.0-alice1-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/protobuf/v3.12.3-1/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/grpc/v1.30.0-alice1-1/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/openssl@1.1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/c-ares/v1.15.0-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/grpc/v1.30.0-alice1-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/grpc/v1.30.0-alice1-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/grpc/v1.30.0-alice1-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/abseil/20200225.2-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/O2/0_O2_DATAFLOW-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/DebugGUI/v0.2.0-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/GLFW/3.3.2-1/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/O2/0_O2_DATAFLOW-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/O2/0_O2_DATAFLOW-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/O2/0_O2_DATAFLOW-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/O2/0_O2_DATAFLOW-1/include/GPU -I/Users/bvonhall/dev/alice/sw/osx_x86-64/O2/0_O2_DATAFLOW-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/FairRoot/7701b7e691-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/FairRoot/7701b7e691-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/FairRoot/7701b7e691-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/FairRoot/7701b7e691-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/arrow/v1.0.0-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/O2/0_O2_DATAFLOW-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/O2/0_O2_DATAFLOW-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/O2/0_O2_DATAFLOW-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/Vc/1.4.1-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/O2/0_O2_DATAFLOW-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/O2/0_O2_DATAFLOW-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/RapidJSON/091de040edb3355dcf2f4a18c425aec51b906f08-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ms_gsl/2.1.0-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/arrow/v1.0.0-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/libuv/v1.38.0-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/O2/0_O2_DATAFLOW-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/FairRoot/7701b7e691-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/O2/0_O2_DATAFLOW-1/include -I/Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/O2/0_O2_DATAFLOW-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/O2/0_O2_DATAFLOW-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include -I/Users/bvonhall/dev/alice/sw/osx_x86-64/ROOT/v6-20-02-alice7-1/include -DBOOST_ALL_NO_LIB -DFMT_LOCALE -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_CONTAINER_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_ERROR_CODE_HEADER_ONLY -D__CLANG_SUPPORT_DYN_ANNOTATION__ -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SYSTEM_DYN_LINK /Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include/QualityControl/Check.h /Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include/QualityControl/CheckInterface.h /Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include/QualityControl/CheckRunner.h /Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include/QualityControl/CheckRunnerFactory.h /Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include/QualityControl/DatabaseInterface.h /Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include/QualityControl/CcdbDatabase.h /Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include/QualityControl/ServiceDiscovery.h /Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include/QualityControl/TaskRunner.h /Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include/QualityControl/TaskRunnerFactory.h /Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include/QualityControl/InfrastructureGenerator.h /Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include/QualityControl/InputUtils.h /Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include/QualityControl/PostProcessingInterface.h /Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include/QualityControl/TrendingTask.h /Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include/QualityControl/Reductor.h /Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include/QualityControl/MonitorObjectCollection.h /Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include/QualityControl/PolicyManager.h /Users/bvonhall/dev/alice/sw/SOURCES/QualityControl/aggregators/0/Framework/include/QualityControl/LinkDef.h

Ok, problem understood.
I was passing most of the headers in my project to rootcling whereas I should have passed only the one needed with regards to the LinkDef.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.