1
1
openmpi/ompi/mpi/cxx
Rainer Keller 8e1b23779f - Replace combinations of
#if defined (c_plusplus)
          defined (__cplusplus)
   followed by
      extern "C" {
   and the closing counterpart by BEGIN_C_DECLS and END_C_DECLS.

   Notable exceptions are:
    - opal/include/opal_config_bottom.h:
      This is our generated code, that itself defines BEGIN_C_DECL and
      END_C_DECL
    - ompi/mpi/cxx/mpicxx.h:
      Here we do not include opal_config_bottom.h:                                 
    - Belongs to external code:                                                    
      opal/mca/backtrace/darwin/MoreBacktrace/MoreDebugging/MoreBacktrace.c        
      opal/mca/backtrace/darwin/MoreBacktrace/MoreDebugging/MoreBacktrace.h        
    - opal/include/opal/prefetch.h:
      Has C++ specific macros that are protected:                                  

    - Had #if ... } #endif  _and_ END_C_DECLS (aka end up with 2x
      END_C_DECLS)
      ompi/mca/btl/openib/btl_openib.h
    - opal/event/event.h has #ifdef __cplusplus as BEGIN_C_DECLS...
    - opal/win32/ompi_process.h: had extern "C"\n {...
      opal/win32/ompi_process.h: dito
    - ompi/mca/btl/pcie/btl_pcie_lex.l: needed to add *_C_DECLS
      ompi/mpi/f90/test/align_c.c: dito
    - ompi/debuggers/msgq_interface.h: used #ifdef __cplusplus
    - ompi/mpi/f90/xml/common-C.xsl: Amend

   Tested on linux using --with-openib and --with-mx

   The following do not contain either opal_config.h, orte_config.h or
   ompi_config.h
   (but possibly other header files, that include one of the above):
      ompi/mca/bml/r2/bml_r2_ft.h
      ompi/mca/btl/gm/btl_gm_endpoint.h
      ompi/mca/btl/gm/btl_gm_proc.h
      ompi/mca/btl/mx/btl_mx_endpoint.h
      ompi/mca/btl/ofud/btl_ofud_endpoint.h
      ompi/mca/btl/ofud/btl_ofud_frag.h
      ompi/mca/btl/ofud/btl_ofud_proc.h
      ompi/mca/btl/openib/btl_openib_mca.h
      ompi/mca/btl/portals/btl_portals_endpoint.h
      ompi/mca/btl/portals/btl_portals_frag.h
      ompi/mca/btl/sctp/btl_sctp_endpoint.h
      ompi/mca/btl/sctp/btl_sctp_proc.h
      ompi/mca/btl/tcp/btl_tcp_endpoint.h
      ompi/mca/btl/tcp/btl_tcp_ft.h
      ompi/mca/btl/tcp/btl_tcp_proc.h
      ompi/mca/btl/template/btl_template_endpoint.h
      ompi/mca/btl/template/btl_template_proc.h
      ompi/mca/btl/udapl/btl_udapl_eager_rdma.h
      ompi/mca/btl/udapl/btl_udapl_endpoint.h
      ompi/mca/btl/udapl/btl_udapl_mca.h
      ompi/mca/btl/udapl/btl_udapl_proc.h
      ompi/mca/mtl/mx/mtl_mx_endpoint.h
      ompi/mca/mtl/mx/mtl_mx.h
      ompi/mca/mtl/psm/mtl_psm_endpoint.h
      ompi/mca/mtl/psm/mtl_psm.h
      ompi/mca/pml/cm/pml_cm_component.h
      ompi/mca/pml/csum/pml_csum_comm.h
      ompi/mca/pml/dr/pml_dr_comm.h
      ompi/mca/pml/dr/pml_dr_component.h
      ompi/mca/pml/dr/pml_dr_endpoint.h
      ompi/mca/pml/dr/pml_dr_recvfrag.h
      ompi/mca/pml/example/pml_example.h
      ompi/mca/pml/ob1/pml_ob1_comm.h
      ompi/mca/pml/ob1/pml_ob1_component.h
      ompi/mca/pml/ob1/pml_ob1_endpoint.h
      ompi/mca/pml/ob1/pml_ob1_rdmafrag.h
      ompi/mca/pml/ob1/pml_ob1_recvfrag.h
      ompi/mca/pml/v/pml_v_output.h
      opal/include/opal/prefetch.h
      opal/mca/timer/aix/timer_aix.h
      opal/util/qsort.h
      test/support/components.h

This commit was SVN r21855.

The following SVN revision numbers were found above:
  r2 --> open-mpi/ompi@58fdc18855
2009-08-20 11:42:18 +00:00
..
CMakeLists.txt Remove the unnecessary PROJECT command, I somehow misunderstood how it should be used on Windows.... 2009-02-25 16:07:43 +00:00
comm_inln.h Fix borkedness from r21755: 2009-08-04 18:45:11 +00:00
comm.cc ... Delayed due to notifier commits earlier this day ... 2009-04-29 01:32:14 +00:00
comm.h Add the MPI::Comm::Call_errhandler() function (it was previously 2008-09-05 12:26:06 +00:00
constants.h - Ewww, r20817 messed up PGI on Jaguar big time! 2009-03-21 01:37:38 +00:00
datatype_inln.h Convert the C++ Comm, Datatype and Winn keyval creation and intercept callbacks 2008-02-10 19:29:25 +00:00
datatype.cc ... Delayed due to notifier commits earlier this day ... 2009-04-29 01:32:14 +00:00
datatype.h Convert the C++ Comm, Datatype and Winn keyval creation and intercept callbacks 2008-02-10 19:29:25 +00:00
errhandler_inln.h Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
errhandler.h Fixes CIDs 421, 422, 423, 424, 425 426 2008-08-08 13:49:44 +00:00
exception.h Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
file_inln.h Convert the C++ Comm, Datatype and Winn keyval creation and intercept callbacks 2008-02-10 19:29:25 +00:00
file.cc ... Delayed due to notifier commits earlier this day ... 2009-04-29 01:32:14 +00:00
file.h Fix CID 1095: ensure to initialize the File 2008-08-12 13:13:02 +00:00
functions_inln.h Remove some leftover kruft; the STL is no longer used, so this lock is 2008-06-20 13:39:26 +00:00
functions.h Remove some leftover kruft; the STL is no longer used, so this lock is 2008-06-20 13:39:26 +00:00
group_inln.h It appears that most versions of the IBM XL compiler (including the latest 2006-08-19 22:55:59 +00:00
group.h This is a workaround to bug in the Intel C++ compiler, version 9.1 2006-11-09 17:34:12 +00:00
info_inln.h The bool type on Windows is not an integer. Therefore just casting an 2006-08-28 18:51:09 +00:00
info.h Fixes CIDs 421, 422, 423, 424, 425 426 2008-08-08 13:49:44 +00:00
intercepts.cc - Split the datatype engine into two parts: an MPI specific part in 2009-07-13 04:56:31 +00:00
intercomm_inln.h Since all of the collectives (except scan and exscan) are defined on 2005-12-21 21:12:52 +00:00
intercomm.h This is a workaround to bug in the Intel C++ compiler, version 9.1 2006-11-09 17:34:12 +00:00
intracomm_inln.h * fix #730 for removing an extra argument from MPI::Win::Get_attr as being 2007-01-09 23:48:39 +00:00
intracomm.h This is a workaround to bug in the Intel C++ compiler, version 9.1 2006-11-09 17:34:12 +00:00
Makefile.am Start using Libtool's shared library versioning scheme. See lengthy 2009-07-23 21:35:17 +00:00
mpicxx.cc - Split the datatype engine into two parts: an MPI specific part in 2009-07-13 04:56:31 +00:00
mpicxx.h - Replace combinations of 2009-08-20 11:42:18 +00:00
op_inln.h Two major things in this commit: 2009-01-14 23:44:31 +00:00
op.h Two major things in this commit: 2009-01-14 23:44:31 +00:00
request_inln.h Nothing substantial: just move the generalized request intercept data 2008-01-21 15:56:21 +00:00
request.h Fixes CIDs 421, 422, 423, 424, 425 426 2008-08-08 13:49:44 +00:00
status_inln.h After review with Rolf, decided to be a bit more safe and instead of 2006-11-07 20:49:31 +00:00
status.h Fixes CIDs 421, 422, 423, 424, 425 426 2008-08-08 13:49:44 +00:00
topology_inln.h * fix #730 for removing an extra argument from MPI::Win::Get_attr as being 2007-01-09 23:48:39 +00:00
topology.h Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
win_inln.h Convert the C++ Comm, Datatype and Winn keyval creation and intercept callbacks 2008-02-10 19:29:25 +00:00
win.cc ... Delayed due to notifier commits earlier this day ... 2009-04-29 01:32:14 +00:00
win.h Fixes CIDs 421, 422, 423, 424, 425 426 2008-08-08 13:49:44 +00:00