#1661: ExternalLibraries/PAPI does not build with gcc 4.8.2 ------------------------------------+--------------------------------------- Reporter: tbode | Owner: tbode Type: defect | Status: new Priority: major | Milestone: ET_2014_11 Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: PAPI ------------------------------------+---------------------------------------
Comment (by eschnett):
Removing -Werror via a patch is cumbersome and brittle. Instead, they should be replaced by a perl command via search-and-replace. (This is most likely how the patch was generated in the first place.)
Unfortunately, this perl command seems to have gotten lost. A similar perl command for handling "malloc.h" is still there.
This perl command would look something like {{{ find . -type f -print | xargs perl -pi -e 's/-Werror//g' }}}