mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 09:00:33 -04:00
In file included from ./Solver.C:20: In file included from ./Solver.h:29: ./SolverTypes.h:122:20: error: friend declaration specifying a default argument must be a definition friend Clause* Clause_new(const V& ps, bool learnt = false); ^ ./SolverTypes.h:147:9: error: friend declaration specifying a default argument must be the only declaration Clause* Clause_new(const V& ps, bool learnt) { ^ ./SolverTypes.h:122:20: note: previous declaration is here friend Clause* Clause_new(const V& ps, bool learnt = false); ^ ./Solver.C:123:21: error: no matching function for call to 'Clause_new' Clause* c = Clause_new(ps, false); ^~~~~~~~~~ ./Solver.C:602:29: error: no matching function for call to 'Clause_new' Clause* c = Clause_new(learnt_clause, true); ^~~~~~~~~~ 4 errors generated. PR: 216809 Obtained from: upstream Approved by: portmgr blanket
13 lines
546 B
Text
13 lines
546 B
Text
https://sourceforge.net/p/yap/yap-6.3/ci/da61f1c31fed
|
|
|
|
--- configure.orig 2013-01-19 11:48:08 UTC
|
|
+++ configure
|
|
@@ -5169,7 +5169,7 @@ then
|
|
C_PARSER_FLAGS="-O3 -Wall -Wstrict-prototypes -Wmissing-prototypes $CFLAGS"
|
|
CFLAGS="-O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes $CFLAGS"
|
|
case "`$CC --version < /dev/null`" in
|
|
- *3.4*) CFLAGS="-fno-gcse -fno-crossjumping $CFLAGS" ;;
|
|
+ gcc-3.4*) CFLAGS="-fno-gcse -fno-crossjumping $CFLAGS" ;;
|
|
esac
|
|
case "$target_cpu" in
|
|
i*86*)
|