From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sam Varner Subject: Boost with C++14 Date: Sun, 23 Dec 2018 10:44:21 -0500 Message-ID: <20181223104421.7150aa1b@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gb5vh-0002h7-WC for help-guix@gnu.org; Sun, 23 Dec 2018 10:44:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gb5ve-00081w-KZ for help-guix@gnu.org; Sun, 23 Dec 2018 10:44:37 -0500 Received: from resqmta-po-04v.sys.comcast.net ([2001:558:fe16:19:96:114:154:163]:45116) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gb5ve-0007zD-EK for help-guix@gnu.org; Sun, 23 Dec 2018 10:44:34 -0500 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Hi all, When compiling my own code with gcc 8.2.0 I get "undefined reference to `boost::system::detail::generic_category_instance'" unless I use -std=c++11. Word on the net is that I need to use boost libraries compiled for C++14. 'guix edit boost' shows boost and boost-cxx14 packages. I see that other packages use the latter with (inputs `((boost ,boost-cxx14))). How do I link the C++14 variant with my code? Thanks.