[ET Trac] [Einstein Toolkit] #1459: ExternalLibraries/PAPI does not build with gcc 4.8.1
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Thu Oct 24 02:44:55 CDT 2013
#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
Keywords: PAPI |
-----------------------------------+----------------------------------------
not sure if this depends on the gcc version, but I get the following error
when trying to compile PAPI:
{{{
PAPI: Building...
pfmlib_common.c: In function 'pfmlib_parse_event_attr':
pfmlib_common.c:760:10: error: declaration of 'endptr' shadows a previous
local [-Werror=shadow]
char *endptr = NULL;
^
pfmlib_common.c:737:20: error: shadowed declaration is here
[-Werror=shadow]
char *s, *p, *q, *endptr;
^
cc1: all warnings being treated as errors
}}}
I attache the full output of make.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1459>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list