svn commit: r477993 - head/biology/avida
Tobias Kortkamp
tobik at FreeBSD.org
Sat Aug 25 03:22:19 UTC 2018
Author: tobik
Date: Sat Aug 25 03:22:18 2018
New Revision: 477993
URL: https://svnweb.freebsd.org/changeset/ports/477993
Log:
biology/avida: Fix build with Clang 6
avida-core/source/main/cPopulation.cc:2916:20: error: no matching member function for call to 'push_back'
track_founders.push_back(make_pair(organism->GetBioGroup("genotype")->GetID(), new_genome.AsString()));
~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/c++/v1/vector:688:36: note: candidate function not viable: no known conversion from 'pair<[...], typename __make_pair_return<cString>::type>' to 'const pair<[...], std::__1::basic_string<char>>' for 1st argument
_LIBCPP_INLINE_VISIBILITY void push_back(const_reference __x);
^
/usr/include/c++/v1/vector:691:36: note: candidate function not viable: no known conversion from 'pair<[...], typename __make_pair_return<cString>::type>' to 'pair<[...], std::__1::basic_string<char>>' for 1st argument
_LIBCPP_INLINE_VISIBILITY void push_back(value_type&& __x);
^
http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/avida-2.12.4.log
libs/tcmalloc-1.4/src/sysinfo.cc:832:88: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
"%08"PRIx64"-%08"PRIx64" %c%c%c%c %08"PRIx64" %02x:%02x %-11"PRId64" %s\n",
^
Modified:
head/biology/avida/Makefile
Modified: head/biology/avida/Makefile
==============================================================================
--- head/biology/avida/Makefile Sat Aug 25 03:13:37 2018 (r477992)
+++ head/biology/avida/Makefile Sat Aug 25 03:22:18 2018 (r477993)
@@ -21,6 +21,7 @@ BROKEN_sparc64= missing atomics implementation
BROKEN_powerpc64= fails to compile: sibling call optimization does not allow automatic multiple TOCs
USES= cmake:outsource ncurses
+USE_CXXSTD= gnu++98
CMAKE_ARGS= -DAPTO_UNIT_TESTS:BOOL=OFF \
-DAVD_UNIT_TESTS:BOOL=OFF \
-DNCURSES_INCLUDE_PATH:STRING="${NCURSESINC}"
More information about the svn-ports-head
mailing list