#1459: ExternalLibraries/PAPI does not build with gcc 4.8.1 ------------------------------------+--------------------------------------- Reporter: rhaas | Owner: Type: defect | Status: new Priority: major | Milestone: Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: PAPI ------------------------------------+---------------------------------------
Comment (by rhaas):
A grep for Werror in Cactus/configs/sim/scratch/build/PAPI/papi-5.1.0 finds it in various places. *However* my own config-info turns on -Wshadow which then gives the error. So one solution is to filter out -Wshadow from Cactus' CFLAGS (or have users not use it together with PAPI). I attach a patch that removes the ones that I had set and the prevented a build. However even with no Cactus set flags it still failes to build {{{ command_line.c: In function 'main': command_line.c:132:5: warning: 'data_type' may be used uninitialized in this function [-Wmaybe-uninitialized] switch (data_type) { }}}