Fix build for external boost 1.56.0
authorRoland Schulz <roland@utk.edu>
Fri, 5 Sep 2014 20:23:19 +0000 (16:23 -0400)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 7 Sep 2014 15:07:24 +0000 (17:07 +0200)
commit9ea20ff4673e495759f222cb2cfb0c89b996ddef
tree575a4d48f0162b626b7c7e191c1de5bc66a0cecd
parente0f7d9cbcc780cfe05e6176d412a6b094c5c2841
Fix build for external boost 1.56.0

exception/detail/attribute_noreturn.hpp has been removed in 1.56. We
shouldn't have used a detail header in the first place. Use Gromacs
own noreturn attribute.

Also:
- rename GMX_ATTRIBUTE_NORETURN to gmx_noreturn to match unused,
  restrict, and inline
- moved gmx_noreturn to basedefinitions.h
- defined gmx_noreturn for MSVC.
- always use attribute at the beginning not the end, to make it work
  with MSVC (also is more consistent)

Change-Id: Ieaeec03182be9a9d248bb460dae389270e806045
src/gromacs/pbcutil/mshift.cpp
src/gromacs/utility/basedefinitions.h
src/gromacs/utility/fatalerror.cpp
src/gromacs/utility/fatalerror.h
src/gromacs/utility/gmxassert.h