Mercurial > hg > xemacs-beta
comparison src/number-gmp.h @ 2956:ee35a8fdcfcd
[xemacs-hg @ 2005-09-27 05:29:41 by ben]
fix compilation warnings
text.c, event-Xt.c, lisp.h, number-gmp.c, number-gmp.h: Fix compilation warnings. A couple of changes of new -> new_,
'foo -> `foo'.
author | ben |
---|---|
date | Tue, 27 Sep 2005 05:29:45 +0000 |
parents | 9f70af3ac939 |
children | 2fc0e2f18322 |
comparison
equal
deleted
inserted
replaced
2955:4d269e525e21 | 2956:ee35a8fdcfcd |
---|---|
33 /* Uno complains about several inline functions that include conditions with | 33 /* Uno complains about several inline functions that include conditions with |
34 assignments and side effects if we don't do this */ | 34 assignments and side effects if we don't do this */ |
35 #undef __GNUC__ | 35 #undef __GNUC__ |
36 #endif | 36 #endif |
37 | 37 |
38 #ifdef _MSC_VER | |
39 /* "unary minus operator applied to unsigned type, result still unsigned": | |
40 Occurs on line 1596 of gmp.h in version 4.1.4. */ | |
41 #pragma warning ( disable : 4146 ) | |
42 #endif | |
38 #include <gmp.h> | 43 #include <gmp.h> |
44 #ifdef _MSC_VER | |
45 #pragma warning ( default : 4146 ) | |
46 #endif | |
39 | 47 |
40 typedef mpz_t bignum; | 48 typedef mpz_t bignum; |
41 typedef mpq_t ratio; | 49 typedef mpq_t ratio; |
42 typedef mpf_t bigfloat; | 50 typedef mpf_t bigfloat; |
43 | 51 |