Change gmx_bool from int to bool
authorRoland Schulz <roland.schulz@intel.com>
Mon, 21 May 2018 05:41:57 +0000 (22:41 -0700)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 6 Aug 2018 13:58:22 +0000 (15:58 +0200)
commit8517dc152f402d538c58061d44f849b1a1102e6b
tree8a1763f29bfa2eb6e2dd089b971524cd291e145d
parent8293e951e7f0e60218c48bd8defd49f2f3b0e670
Change gmx_bool from int to bool

This relies on C bool and C++ bool be of same size.
The language doesn't gurantee that. But we anyhow require
that both compilers use the same ABI and in that case
both types will have the same size.

Change-Id: I50b1b2e5683abfd1a5389ea158db2fda86e752c5
43 files changed:
cmake/gmxTestCompilerProblems.cmake
src/external/thread_mpi/include/thread_mpi/mpi_bindings.h
src/external/thread_mpi/include/thread_mpi/tmpi.h
src/external/thread_mpi/src/tmpi_ops.h
src/external/thread_mpi/src/type.cpp
src/gromacs/domdec/domdec.cpp
src/gromacs/domdec/domdec_topology.cpp
src/gromacs/essentialdynamics/edsam.cpp
src/gromacs/ewald/pme.cpp
src/gromacs/fileio/checkpoint.cpp
src/gromacs/fileio/pdbio.cpp
src/gromacs/fileio/tpxio.cpp
src/gromacs/fileio/trxio.cpp
src/gromacs/gmxana/gmx_anadock.cpp
src/gromacs/gmxana/gmx_bar.cpp
src/gromacs/gmxana/gmx_chi.cpp
src/gromacs/gmxana/gmx_disre.cpp
src/gromacs/gmxana/gmx_eneconv.cpp
src/gromacs/gmxana/gmx_hbond.cpp
src/gromacs/gmxana/gmx_make_edi.cpp
src/gromacs/gmxana/gmx_pme_error.cpp
src/gromacs/gmxana/gmx_tune_pme.cpp
src/gromacs/gmxana/gmx_wham.cpp
src/gromacs/gmxpreprocess/gen_ad.cpp
src/gromacs/math/utilities.cpp
src/gromacs/math/utilities.h
src/gromacs/mdlib/calc_verletbuf.cpp
src/gromacs/mdlib/nbnxn_atomdata.cpp
src/gromacs/mdlib/nbnxn_tuning.cpp
src/gromacs/mdlib/vcm.h
src/gromacs/mdrun/minimize.cpp
src/gromacs/mdrunutility/threadaffinity.cpp
src/gromacs/mdtypes/forcerec.h
src/gromacs/pbcutil/mshift.cpp
src/gromacs/pulling/pull.cpp
src/gromacs/swap/swapcoords.cpp
src/gromacs/timing/cyclecounter.h
src/gromacs/timing/wallcycle.cpp
src/gromacs/topology/residuetypes.cpp
src/gromacs/utility/basedefinitions.h
src/gromacs/utility/strdb.cpp
src/gromacs/utility/txtdump.cpp
src/gromacs/utility/txtdump.h