Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2018 03:45:28 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r477996 - head/biology/protomol
Message-ID:  <201808250345.w7P3jSFj006057@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Aug 25 03:45:28 2018
New Revision: 477996
URL: https://svnweb.freebsd.org/changeset/ports/477996

Log:
  biology/protomol: Fix build with Clang 6
  
  Report.cpp:208:12: error: invalid operands to binary expression ('std::ostream' (aka 'basic_ostream<char>') and 'const std::__1::ostream' (aka 'const basic_ostream<char>'))
          *myStream << a;
          ~~~~~~~~~ ^  ~
  /usr/include/c++/v1/ostream:218:20: note: candidate function not viable: no known conversion from 'const std::__1::ostream' (aka 'const basic_ostream<char>') to 'const void *' for 1st argument; take the address of the argument with &
      basic_ostream& operator<<(const void* __p);
                     ^
  ... and so on ...
  
  http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/protomol-2.0.3_13.log

Modified:
  head/biology/protomol/Makefile

Modified: head/biology/protomol/Makefile
==============================================================================
--- head/biology/protomol/Makefile	Sat Aug 25 03:35:46 2018	(r477995)
+++ head/biology/protomol/Makefile	Sat Aug 25 03:45:28 2018	(r477996)
@@ -18,6 +18,7 @@ LIB_DEPENDS=	libpng.so:graphics/png \
 		libtiff.so:graphics/tiff
 
 USES=		shebangfix
+USE_CXXSTD=	c++98
 SHEBANG_FILES=	examples/butane_4/procDihedralFile.awk \
 		examples/butane_4/cleanOutput.bash \
 		examples/butane_4/runButaneResults.sh \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808250345.w7P3jSFj006057>