summaryrefslogtreecommitdiff
path: root/src/mpfr-sassert.h
Commit message (Collapse)AuthorAgeFilesLines
* Copyright notice update: added 2015 withvlefevre2015-02-131-1/+1
| | | | | | | | | perl -pi -e 's/ (\d{4}-)?(2014)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh, reverting the tools/mbench directory (not distributed with MPFR). Removed 2014 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9278 280ebfd0-de03-0410-8827-d642c229c3f4
* Updated URL's.vlefevre2014-06-221-1/+1
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9081 280ebfd0-de03-0410-8827-d642c229c3f4
* When static assertions are not supported by the C implementationvlefevre2014-01-091-0/+2
| | | | | | | | | | | | | | | | natively (new C11 feature), their MPFR implementation got broken by changeset r8625, as the __MPFR_GNUC macro in mpfr-sassert.h was not defined in the configure test (since mpfr-impl.h wasn't included) and generated an error, disabling the static assertions support. This is fixed by the following changes, avoiding code duplication and thus risk of inconsistencies in future modification: * copied some of the version detection macros from mpfr-impl.h to a standalone file mpfr-cvers.h, and updated the macros; * in mpfr-impl.h, replaced these macros by a #include "mpfr-cvers.h" and updated a comment; * in mpfr-sassert.h, added a #include "mpfr-cvers.h". git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8739 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2014 withvlefevre2014-01-031-1/+1
| | | | | | | | | perl -pi -e 's/ (\d{4}-)?(2013)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh (the tools/mbench directory was not modified). Removed 2013 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8723 280ebfd0-de03-0410-8827-d642c229c3f4
* [src/mpfr-sassert.h] Get rid of annoying warningsvlefevre2013-07-221-1/+10
| | | | | | | | typedef 'MPFR_ASSERT_xxx' locally defined but not used with GCC 4.8+ (better than the non-portable solution r8618). Thanks to Jonathan Wakely: http://gcc.gnu.org/ml/gcc-help/2013-07/msg00142.html git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8625 280ebfd0-de03-0410-8827-d642c229c3f4
* Use copyright year ranges, followingvlefevre2013-05-301-1/+1
| | | | | | http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8540 280ebfd0-de03-0410-8827-d642c229c3f4
* Copyright notice update: added 2013 withvlefevre2013-01-031-1/+1
| | | | | | | | | perl -pi -e 's/2012 Free Software/2012, 2013 Free Software/' **/*(^/) under zsh, reverting the ChangeLog file and the m4 directory (the tools/mbench directory was not modified). Removed 2012 from the example in the doc/README.dev file. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8447 280ebfd0-de03-0410-8827-d642c229c3f4
* Added Static Assertion support (modified patch from Patrick).vlefevre2012-06-251-0/+64
* Added src/mpfr-sassert.h: implementation of static assertions. * src/mpfr-impl.h: include "mpfr-sassert.h". * acinclude.m4: test whether static assertions are supported. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8241 280ebfd0-de03-0410-8827-d642c229c3f4