Fix most warnings
Please see the commit messages for details. The majority of warnings are of the type f951: Warning: Nonexistent include directory
and this is fixed by lhcb-core/LbDevTools!163 (merged) (to be picked up with !691 (merged)).
The following warnings remain
- 3 warnings related to CMake 3.19, probably to be masked in the nightlies
CMake Deprecation Warning at /cvmfs/lhcb.cern.ch/lib/lcg/releases/LCG_97a_LHCB_4/Vc/1.4.1/x86_64-centos7-gcc9-opt/lib/cmake/Vc/VcMacros.cmake:35 (cmake_minimum_required):
- 2 warnings from
EvtGenHepForge
, probably to be patched (usingPATCH_COMMAND
)
/cvmfs/lhcb.cern.ch/lib/lcg/releases/LCG_97a_LHCB_4/MCGenerators/pythia8/244.lhcb4/x86_64-centos7-gcc9-opt/include/Pythia8/ParticleData.h:166:45: warning: implicitly-declared 'constexpr Pythia8::DecayChannel::DecayChannel(const Pythia8::DecayChannel&)' is deprecated [-Wdeprecated-copy]
- A few fortran warnings, probably to be fixed by backporting developments from Gaussino?
4 Warning: Legacy Extension: Label at (1) is not in the same block as the GOTO statement at (2)
1 Warning: Padding of 4 bytes required before 'ckin' in COMMON 'pysubs' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
1 Warning: Padding of 4 bytes required before 'irts' in COMMON 'initcom' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
11 Warning: Padding of 4 bytes required before 'nee' in COMMON 'qdata3' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
11 Warning: Padding of 4 bytes required before 'xsec' in COMMON 'pyhiint5' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
more details
[538>42>1427/2006] Building Fortran object Gen/SuperChic2/CMakeFiles/SuperChic2.dir/src/main/superchic.f.o
../Gen/SuperChic2/src/main/superchic.f:685:5:
123 | goto 1008
| 2
......
685 | 1008 continue
| 1
Warning: Legacy Extension: Label at (1) is not in the same block as the GOTO statement at (2)
../Gen/SuperChic2/src/main/superchic.f:690:5:
126 | goto 1009
| 2
......
690 | 1009 continue
| 1
Warning: Legacy Extension: Label at (1) is not in the same block as the GOTO statement at (2)
../Gen/SuperChic2/src/main/superchic.f:713:5:
129 | goto 1010
| 2
......
713 | 1010 continue
| 1
Warning: Legacy Extension: Label at (1) is not in the same block as the GOTO statement at (2)
../Gen/SuperChic2/src/main/superchic.f:718:5:
132 | goto 1011
| 2
......
718 | 1011 continue
| 1
Warning: Legacy Extension: Label at (1) is not in the same block as the GOTO statement at (2)
[1378>42>587/2006] Building Fortran object Gen/LPair/CMakeFiles/LPair.dir/src/zlfm73.f.o
../Gen/LPair/src/zlfm73.f:178:20:
178 | COMMON/PYSUBS/MSEL,MSUB(500),KFIN(2,-40:40),CKIN(200)
| 1
Warning: Padding of 4 bytes required before 'ckin' in COMMON 'pysubs' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
[546>42>1419/2006] Building Fortran object Gen/SuperChic2/CMakeFiles/SuperChic2.dir/src/init/init.f.o
../Gen/SuperChic2/src/init/init.f:14:21:
14 | common/initcom/isurv,irts,iisurv,ipdfmember,entryp,exitp,iintag,
| 1
Warning: Padding of 4 bytes required before 'irts' in COMMON 'initcom' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
[1037>42>928/2006] Building Fortran object Gen/LbHidValley/CMakeFiles/LbHidValleyLib.dir/src/Lib/hvevent.F.o
../Gen/LbHidValley/src/Lib/HidValley.inc:42:20:
42 | COMMON/QDATA3/NCNTR,
| 1
Warning: Padding of 4 bytes required before 'nee' in COMMON 'qdata3' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
[1036>42>929/2006] Building Fortran object Gen/LbHidValley/CMakeFiles/LbHidValleyLib.dir/src/Lib/hvaction.F.o
../Gen/LbHidValley/src/Lib/HidValley.inc:42:20:
42 | COMMON/QDATA3/NCNTR,
| 1
Warning: Padding of 4 bytes required before 'nee' in COMMON 'qdata3' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
[1035>42>930/2006] Building Fortran object Gen/LbHidValley/CMakeFiles/LbHidValleyLib.dir/src/Lib/hvgetpar.F.o
../Gen/LbHidValley/src/Lib/HidValley.inc:42:20:
42 | COMMON/QDATA3/NCNTR,
| 1
Warning: Padding of 4 bytes required before 'nee' in COMMON 'qdata3' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
--
[1031>42>934/2006] Building Fortran object Gen/LbHidValley/CMakeFiles/LbHidValleyLib.dir/src/Lib/hvupinit.F.o
../Gen/LbHidValley/src/Lib/HidValley.inc:42:20:
42 | COMMON/QDATA3/NCNTR,
| 1
Warning: Padding of 4 bytes required before 'nee' in COMMON 'qdata3' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
--
[1029>42>936/2006] Building Fortran object Gen/LbHidValley/CMakeFiles/LbHidValleyLib.dir/src/Lib/hvstep3.F.o
../Gen/LbHidValley/src/Lib/HidValley.inc:42:20:
42 | COMMON/QDATA3/NCNTR,
| 1
Warning: Padding of 4 bytes required before 'nee' in COMMON 'qdata3' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
[1028>42>937/2006] Building Fortran object Gen/LbHidValley/CMakeFiles/LbHidValleyLib.dir/src/Lib/hvsetpar.F.o
../Gen/LbHidValley/src/Lib/HidValley.inc:42:20:
42 | COMMON/QDATA3/NCNTR,
| 1
Warning: Padding of 4 bytes required before 'nee' in COMMON 'qdata3' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
[1027>42>938/2006] Building Fortran object Gen/LbHidValley/CMakeFiles/LbHidValleyLib.dir/src/Lib/hvstep2.F.o
../Gen/LbHidValley/src/Lib/HidValley.inc:42:20:
42 | COMMON/QDATA3/NCNTR,
| 1
Warning: Padding of 4 bytes required before 'nee' in COMMON 'qdata3' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
--
[1022>42>943/2006] Building Fortran object Gen/LbHidValley/CMakeFiles/LbHidValleyLib.dir/src/Lib/hiddenvalley.F.o
../Gen/LbHidValley/src/Lib/HidValley.inc:42:20:
42 | COMMON/QDATA3/NCNTR,
| 1
Warning: Padding of 4 bytes required before 'nee' in COMMON 'qdata3' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
[1021>42>944/2006] Building Fortran object Gen/LbHidValley/CMakeFiles/LbHidValleyLib.dir/src/Lib/hvupevnt.F.o
../Gen/LbHidValley/src/Lib/HidValley.inc:42:20:
42 | COMMON/QDATA3/NCNTR,
| 1
Warning: Padding of 4 bytes required before 'nee' in COMMON 'qdata3' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
--
[1014>42>951/2006] Building Fortran object Gen/LbHidValley/CMakeFiles/LbHidValleyLib.dir/src/Lib/hvstep1.F.o
../Gen/LbHidValley/src/Lib/HidValley.inc:42:20:
42 | COMMON/QDATA3/NCNTR,
| 1
Warning: Padding of 4 bytes required before 'nee' in COMMON 'qdata3' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
--
[1009>42>956/2006] Building Fortran object Gen/LbHidValley/CMakeFiles/LbHidValleyLib.dir/src/Lib/hvmake.F.o
../Gen/LbHidValley/src/Lib/HidValley.inc:42:20:
42 | COMMON/QDATA3/NCNTR,
| 1
Warning: Padding of 4 bytes required before 'nee' in COMMON 'qdata3' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
[854>42>1111/2006] Building Fortran object Gen/LbHijing/CMakeFiles/LbHijingLib.dir/src/Lib/hijhrd.F.o
../Gen/LbHijing/src/Lib/hijhrd.F:53:24:
53 | COMMON/PYHIINT5/NGEN(0:200,3),XSEC(0:200,3)
| 1
Warning: Padding of 4 bytes required before 'xsec' in COMMON 'pyhiint5' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
--
[842>42>1123/2006] Building Fortran object Gen/LbHijing/CMakeFiles/LbHijingLib.dir/src/Lib/jetini.F.o
../Gen/LbHijing/src/Lib/jetini.F:49:24:
49 | COMMON/PYHIINT5/NGEN(0:200,3),XSEC(0:200,3)
| 1
Warning: Padding of 4 bytes required before 'xsec' in COMMON 'pyhiint5' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
--
[830>42>1135/2006] Building Fortran object Gen/LbHijing/CMakeFiles/LbHijingLib.dir/src/Lib/pyhidata.F.o
../Gen/LbHijing/src/Lib/pyhidata.F:20:22:
20 | COMMON/PYHIINT5/NGEN(0:200,3),XSEC(0:200,3)
| 1
Warning: Padding of 4 bytes required before 'xsec' in COMMON 'pyhiint5' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
--
[817>42>1148/2006] Building Fortran object Gen/LbHijing/CMakeFiles/LbHijingLib.dir/src/Lib/pyhiinit.F.o
../Gen/LbHijing/src/Lib/pyhiinit.F:22:22:
22 | COMMON/PYHIINT5/NGEN(0:200,3),XSEC(0:200,3)
| 1
Warning: Padding of 4 bytes required before 'xsec' in COMMON 'pyhiint5' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
--
[810>42>1155/2006] Building Fortran object Gen/LbHijing/CMakeFiles/LbHijingLib.dir/src/Lib/pyhirand.F.o
../Gen/LbHijing/src/Lib/pyhirand.F:26:22:
26 | COMMON/PYHIINT5/NGEN(0:200,3),XSEC(0:200,3)
| 1
Warning: Padding of 4 bytes required before 'xsec' in COMMON 'pyhiint5' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
--
[806>42>1159/2006] Building Fortran object Gen/LbHijing/CMakeFiles/LbHijingLib.dir/src/Lib/pyhimult.F.o
../Gen/LbHijing/src/Lib/pyhimult.F:25:22:
25 | COMMON/PYHIINT5/NGEN(0:200,3),XSEC(0:200,3)
| 1
Warning: Padding of 4 bytes required before 'xsec' in COMMON 'pyhiint5' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
--
[799>42>1166/2006] Building Fortran object Gen/LbHijing/CMakeFiles/LbHijingLib.dir/src/Lib/pyhithia.F.o
../Gen/LbHijing/src/Lib/pyhithia.F:22:22:
22 | COMMON/PYHIINT5/NGEN(0:200,3),XSEC(0:200,3)
| 1
Warning: Padding of 4 bytes required before 'xsec' in COMMON 'pyhiint5' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
[798>42>1167/2006] Building Fortran object Gen/LbHijing/CMakeFiles/LbHijingLib.dir/src/Lib/pyhixtot.F.o
../Gen/LbHijing/src/Lib/pyhixtot.F:14:22:
14 | COMMON/PYHIINT5/NGEN(0:200,3),XSEC(0:200,3)
| 1
Warning: Padding of 4 bytes required before 'xsec' in COMMON 'pyhiint5' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
--
[783>42>1182/2006] Building Fortran object Gen/LbHijing/CMakeFiles/LbHijingLib.dir/src/Lib/pyhimaxi.F.o
../Gen/LbHijing/src/Lib/pyhimaxi.F:25:22:
25 | COMMON/PYHIINT5/NGEN(0:200,3),XSEC(0:200,3)
| 1
Warning: Padding of 4 bytes required before 'xsec' in COMMON 'pyhiint5' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
--
[768>42>1197/2006] Building Fortran object Gen/LbHijing/CMakeFiles/LbHijingLib.dir/src/Lib/pyhiscat.F.o
../Gen/LbHijing/src/Lib/pyhiscat.F:28:22:
28 | COMMON/PYHIINT5/NGEN(0:200,3),XSEC(0:200,3)
| 1
Warning: Padding of 4 bytes required before 'xsec' in COMMON 'pyhiint5' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
--
[649>42>1316/2006] Building Fortran object Gen/LbHijing/CMakeFiles/LbHijingLib.dir/src/Lib/pyhisigh.F.o
../Gen/LbHijing/src/Lib/pyhisigh.F:33:22:
33 | COMMON/PYHIINT5/NGEN(0:200,3),XSEC(0:200,3)
| 1
Warning: Padding of 4 bytes required before 'xsec' in COMMON 'pyhiint5' at (1); reorder elements or use '-fno-align-commons' [-Walign-commons]
Edited by Rosen Matev