[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 16:02:49 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
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) {
 }}}

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1459#comment:5>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list