[ET Trac] [Einstein Toolkit] #740: Carpet commit c8eecbe1968f breaks gcc compilation

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Jan 27 17:29:22 CST 2012


#740: Carpet commit c8eecbe1968f breaks gcc compilation
--------------------+-------------------------------------------------------
 Reporter:  tbode   |       Owner:  eschnett           
     Type:  defect  |      Status:  new                
 Priority:  major   |   Milestone:                     
Component:  Carpet  |     Version:  development version
 Keywords:          |  
--------------------+-------------------------------------------------------
 I get the following fatal error when compiling the latest development ET,
 fresh checkout, with gcc 4.6.

 {{{
 #!div style="font-size: 70%"
   {{{#!python
    COMPILING .../CarpetLib/src/gdata.cc
    .../CarpetLib/src/gdata.cc: In function 'MPI_Datatype
 mpi_datatype(const slab<T, D>&) [with T = int, int D = 3, MPI_Datatype =
 int]':
    .../CarpetLib/src/gdata.hh:42:43:   instantiated from here
    .../CarpetLib/src/gdata.cc:51:21: error: uninitialized const 's'
 [-fpermissive]
    .../CarpetLib/src/gdata.hh:27:8: note: 'const struct slab<int, 3>' has
 no user-provided default constructor
   }}}
 }}}

 I tracked it down to Carpet commit c8eecbe1968f (11. Jan). Is somebody
 hiding a patch with a constructor or is there another fix?

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/740>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list