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",
                                                                                       ^
This commit is contained in:
Tobias Kortkamp 2018-08-25 03:22:18 +00:00
parent e9ce4734b8
commit 122915db2a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=477993

View file

@ -21,6 +21,7 @@ BROKEN_sparc64= missing atomics implementation
BROKEN_powerpc64= fails to compile: sibling call optimization does not allow automatic multiple TOCs BROKEN_powerpc64= fails to compile: sibling call optimization does not allow automatic multiple TOCs
USES= cmake:outsource ncurses USES= cmake:outsource ncurses
USE_CXXSTD= gnu++98
CMAKE_ARGS= -DAPTO_UNIT_TESTS:BOOL=OFF \ CMAKE_ARGS= -DAPTO_UNIT_TESTS:BOOL=OFF \
-DAVD_UNIT_TESTS:BOOL=OFF \ -DAVD_UNIT_TESTS:BOOL=OFF \
-DNCURSES_INCLUDE_PATH:STRING="${NCURSESINC}" -DNCURSES_INCLUDE_PATH:STRING="${NCURSESINC}"