Skip to content

Commit bacbb41

Browse files
author
(no author)
committed
1. Add missed mp_bitcnt_t changes
2. Update Windows builds (exclude pre_divrem.c now in assembler)
1 parent 88c8b3e commit bacbb41

File tree

11 files changed

+21
-19
lines changed

11 files changed

+21
-19
lines changed

build.vc9/dll_mpir_core2/dll_mpir_core2.vcproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1671,6 +1671,7 @@
16711671
>
16721672
<FileConfiguration
16731673
Name="Debug|x64"
1674+
ExcludedFromBuild="true"
16741675
>
16751676
<Tool
16761677
Name="VCCLCompilerTool"
@@ -1679,6 +1680,7 @@
16791680
</FileConfiguration>
16801681
<FileConfiguration
16811682
Name="Release|x64"
1683+
ExcludedFromBuild="true"
16821684
>
16831685
<Tool
16841686
Name="VCCLCompilerTool"

build.vc9/dll_mpir_k10/dll_mpir_k10.vcproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,6 +1675,7 @@
16751675
>
16761676
<FileConfiguration
16771677
Name="Debug|x64"
1678+
ExcludedFromBuild="true"
16781679
>
16791680
<Tool
16801681
Name="VCCLCompilerTool"
@@ -1683,6 +1684,7 @@
16831684
</FileConfiguration>
16841685
<FileConfiguration
16851686
Name="Release|x64"
1687+
ExcludedFromBuild="true"
16861688
>
16871689
<Tool
16881690
Name="VCCLCompilerTool"

build.vc9/dll_mpir_k8/dll_mpir_k8.vcproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1677,6 +1677,7 @@
16771677
>
16781678
<FileConfiguration
16791679
Name="Debug|x64"
1680+
ExcludedFromBuild="true"
16801681
>
16811682
<Tool
16821683
Name="VCCLCompilerTool"
@@ -1685,6 +1686,7 @@
16851686
</FileConfiguration>
16861687
<FileConfiguration
16871688
Name="Release|x64"
1689+
ExcludedFromBuild="true"
16881690
>
16891691
<Tool
16901692
Name="VCCLCompilerTool"

build.vc9/dll_mpir_nehalem/dll_mpir_nehalem.vcproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,6 +1673,7 @@
16731673
>
16741674
<FileConfiguration
16751675
Name="Debug|x64"
1676+
ExcludedFromBuild="true"
16761677
>
16771678
<Tool
16781679
Name="VCCLCompilerTool"
@@ -1681,6 +1682,7 @@
16811682
</FileConfiguration>
16821683
<FileConfiguration
16831684
Name="Release|x64"
1685+
ExcludedFromBuild="true"
16841686
>
16851687
<Tool
16861688
Name="VCCLCompilerTool"

build.vc9/lib_mpir_core2/lib_mpir_core2.vcproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3567,6 +3567,7 @@
35673567
>
35683568
<FileConfiguration
35693569
Name="Debug|x64"
3570+
ExcludedFromBuild="true"
35703571
>
35713572
<Tool
35723573
Name="VCCLCompilerTool"
@@ -3575,6 +3576,7 @@
35753576
</FileConfiguration>
35763577
<FileConfiguration
35773578
Name="Release|x64"
3579+
ExcludedFromBuild="true"
35783580
>
35793581
<Tool
35803582
Name="VCCLCompilerTool"

build.vc9/lib_mpir_k10/lib_mpir_k10.vcproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3573,6 +3573,7 @@
35733573
>
35743574
<FileConfiguration
35753575
Name="Debug|x64"
3576+
ExcludedFromBuild="true"
35763577
>
35773578
<Tool
35783579
Name="VCCLCompilerTool"
@@ -3581,6 +3582,7 @@
35813582
</FileConfiguration>
35823583
<FileConfiguration
35833584
Name="Release|x64"
3585+
ExcludedFromBuild="true"
35843586
>
35853587
<Tool
35863588
Name="VCCLCompilerTool"

build.vc9/lib_mpir_k8/lib_mpir_k8.vcproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3573,6 +3573,7 @@
35733573
>
35743574
<FileConfiguration
35753575
Name="Debug|x64"
3576+
ExcludedFromBuild="true"
35763577
>
35773578
<Tool
35783579
Name="VCCLCompilerTool"
@@ -3581,6 +3582,7 @@
35813582
</FileConfiguration>
35823583
<FileConfiguration
35833584
Name="Release|x64"
3585+
ExcludedFromBuild="true"
35843586
>
35853587
<Tool
35863588
Name="VCCLCompilerTool"

build.vc9/lib_mpir_nehalem/lib_mpir_nehalem.vcproj

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3567,6 +3567,7 @@
35673567
>
35683568
<FileConfiguration
35693569
Name="Debug|x64"
3570+
ExcludedFromBuild="true"
35703571
>
35713572
<Tool
35723573
Name="VCCLCompilerTool"
@@ -3575,6 +3576,7 @@
35753576
</FileConfiguration>
35763577
<FileConfiguration
35773578
Name="Release|x64"
3579+
ExcludedFromBuild="true"
35783580
>
35793581
<Tool
35803582
Name="VCCLCompilerTool"
@@ -4432,20 +4434,6 @@
44324434
<File
44334435
RelativePath="..\..\mpn\x86_64w\divrem_2.asm"
44344436
>
4435-
<FileConfiguration
4436-
Name="Debug|x64"
4437-
>
4438-
<Tool
4439-
Name="YASM"
4440-
/>
4441-
</FileConfiguration>
4442-
<FileConfiguration
4443-
Name="Release|x64"
4444-
>
4445-
<Tool
4446-
Name="YASM"
4447-
/>
4448-
</FileConfiguration>
44494437
</File>
44504438
<File
44514439
RelativePath="..\..\mpn\x86_64w\divrem_euclidean_qr_1.asm"

gmp-h.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ __GMP_DECLSPEC void mpz_import __GMP_PROTO ((mpz_ptr, size_t, int, size_t, int,
911911
__GMP_DECLSPEC void mpz_init __GMP_PROTO ((mpz_ptr));
912912

913913
#define mpz_init2 __gmpz_init2
914-
__GMP_DECLSPEC void mpz_init2 __GMP_PROTO ((mpz_ptr, unsigned long));
914+
__GMP_DECLSPEC void mpz_init2 __GMP_PROTO ((mpz_ptr, mp_bitcnt_t));
915915

916916
#define mpz_init_set __gmpz_init_set
917917
__GMP_DECLSPEC void mpz_init_set __GMP_PROTO ((mpz_ptr, mpz_srcptr));
@@ -1052,7 +1052,7 @@ __GMP_DECLSPEC int mpz_probable_prime_p __GMP_PROTO ((mpz_srcptr,gmp_randstate_t
10521052
__GMP_DECLSPEC int mpz_likely_prime_p __GMP_PROTO ((mpz_srcptr,gmp_randstate_t, unsigned long));
10531053

10541054
#define mpz_realloc2 __gmpz_realloc2
1055-
__GMP_DECLSPEC void mpz_realloc2 __GMP_PROTO ((mpz_ptr, unsigned long));
1055+
__GMP_DECLSPEC void mpz_realloc2 __GMP_PROTO ((mpz_ptr, mp_bitcnt_t));
10561056

10571057
#define mpz_remove __gmpz_remove
10581058
__GMP_DECLSPEC unsigned long int mpz_remove __GMP_PROTO ((mpz_ptr, mpz_srcptr, mpz_srcptr));
@@ -1379,7 +1379,7 @@ __GMP_DECLSPEC unsigned long mpf_get_ui __GMP_PROTO ((mpf_srcptr)) __GMP_NOTHROW
13791379
__GMP_DECLSPEC void mpf_init __GMP_PROTO ((mpf_ptr));
13801380

13811381
#define mpf_init2 __gmpf_init2
1382-
__GMP_DECLSPEC void mpf_init2 __GMP_PROTO ((mpf_ptr, unsigned long int));
1382+
__GMP_DECLSPEC void mpf_init2 __GMP_PROTO ((mpf_ptr, mp_bitcnt_t));
13831383

13841384
#define mpf_init_set __gmpf_init_set
13851385
__GMP_DECLSPEC void mpf_init_set __GMP_PROTO ((mpf_ptr, mpf_srcptr));

mpf/init2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ MA 02110-1301, USA. */
2323
#include "gmp-impl.h"
2424

2525
void
26-
mpf_init2 (mpf_ptr r, unsigned long int prec_in_bits)
26+
mpf_init2 (mpf_ptr r, mp_bitcnt_t prec_in_bits)
2727
{
2828
mp_size_t prec;
2929

0 commit comments

Comments
 (0)