[ET Trac] [Einstein Toolkit] #555: include header files for prototypes of getpid, sched_getaffinity etc.

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon Sep 12 16:15:44 CDT 2011


#555: include header files for prototypes of getpid, sched_getaffinity etc.
-------------------------+--------------------------------------------------
 Reporter:  rhaas        |       Owner:  rhaas
     Type:  enhancement  |      Status:  new  
 Priority:  minor        |   Milestone:       
Component:  Carpet       |     Version:       
 Keywords:               |  
-------------------------+--------------------------------------------------
 three small patches that include header files or make prototypes in header
 files visible or avoid instantiating a template both explicitly and
 implicitly in Carpet.

 All three are required to get PGI to compile !Carpet/Hg (plus a change to
 loopcontrol.c which should not be required and seems to be due to a
 compiler deficiency when handling OpenMP).

 The first two actually make the code use fewer implicit declarations of
 functions, while the last one (#define NO_COMPLEX) [a] makes the code more
 systematic and [b] might actually avoid some implementation defined
 behaviour (though I am really not familiar enough with C++ templates to
 know).

 Unless there are objections I will apply these sometime near the end of
 the week (Friday or so).

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


More information about the Trac mailing list