diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-03-15 14:08:54 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-03-15 14:08:54 +0000 |
commit | d711faa59b0459270b9042831fef6c048d5ff6d8 (patch) | |
tree | b2c43871f78261a2448596d3ca781db91c435573 /README.dev | |
parent | 8432def2dd87ec2099bb3d6e20f37ecb7ca40bb0 (diff) | |
download | mpfr-d711faa59b0459270b9042831fef6c048d5ff6d8.tar.gz |
Fix a compiler bug (limb !=0 instead of limb).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2841 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'README.dev')
-rw-r--r-- | README.dev | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/README.dev b/README.dev index 443098944..b2ef3977b 100644 --- a/README.dev +++ b/README.dev @@ -127,3 +127,17 @@ List of the used macros for checking MPFR: + HAVE_SYS_TIME_H: Define if the header sys/time.h is usuable. + HAVE_GETTIMEOFDAY: Define if the function gettimeofday is present. + MPFR_HAVE_TESTS_x86: Define if we are on x86. + +=========================================================================== + +Don't write: + mp_limb_t l; + [...] + if (l) do_action (); +But: + mp_limb_t l; + [...] + if (l != 0) do_action (); + + since mp_limb_t may be "unsigned long long", and some buggy compiler +produce illegal codes with the first form. |