-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(main/prover9): Fix implicit int compiler error
This fixes compiler errors as following. msearch.c:850:22: error: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] int next_domain_size(n) ^
- Loading branch information
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/mace4.src/msearch.c | ||
+++ b/mace4.src/msearch.c | ||
@@ -847,7 +847,7 @@ | ||
*************/ | ||
|
||
static | ||
-int next_domain_size(n) | ||
+int next_domain_size(int n) | ||
{ | ||
int top = (parm(Opt->end_size) == -1 ? INT_MAX : parm(Opt->end_size)); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/mace4.src/select.c | ||
+++ b/mace4.src/select.c | ||
@@ -233,7 +233,7 @@ | ||
* | ||
*************/ | ||
|
||
-int select_concentric_band(min_id, max_id, max_constrained) | ||
+int select_concentric_band(int min_id, int max_id, int max_constrained) | ||
{ | ||
int max = -1; | ||
int id_of_max = -1; |