From owner-freebsd-hackers@freebsd.org Tue Jun 14 17:25:16 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC33DB72FF0 for ; Tue, 14 Jun 2016 17:25:16 +0000 (UTC) (envelope-from adamartin.freebsd.org@gmail.com) Received: from mail-qg0-x232.google.com (mail-qg0-x232.google.com [IPv6:2607:f8b0:400d:c04::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7ED542FFE for ; Tue, 14 Jun 2016 17:25:16 +0000 (UTC) (envelope-from adamartin.freebsd.org@gmail.com) Received: by mail-qg0-x232.google.com with SMTP id v48so70573572qgd.2 for ; Tue, 14 Jun 2016 10:25:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:reply-to:from:message-id:date:user-agent :mime-version:in-reply-to; bh=1jgDcFQuq8JrB9c4PLgYN2DSwUcjEDB0QfcLKJRVGF8=; b=SFWxptCB2EAGzNZu7jeNpI7mdJJ+gUHVvq7DNSgAKsfPOE0YX/7JabiJey1AkAoX98 UqWqSrePXBj34k2Z14llZrk+u647p2CW1seMwtJZ1zI4GsVwQBcu4gLSR8bmP8pKzo13 I+l+lSZ5N4BD3UJ2SmIVcUVwQXBHO/YOBAw2LLf7nDDoqYyyZlqKPjMrtMqONfWu8cIW W63WzVzDFlrT8rDVEbr/SUrhfm/sLAA/49O63Oac4DIIfE1Kb3Lcopb6m+4L171ntm4h p6F9k646MdG7BCtQ60XJI7Th+OlN38omMjvYh+G07xXbckl2vY5PTS6h0eNewnihBb+C qKcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:reply-to:from:message-id :date:user-agent:mime-version:in-reply-to; bh=1jgDcFQuq8JrB9c4PLgYN2DSwUcjEDB0QfcLKJRVGF8=; b=lRyPrR91er8lu1Qa4ur0l6tFN/7gp92quyiz5DxVDO7JU9CgJSltqLZeuJ7LiNa9cK k2yIUhRmqPGrHjf0j3v22VeiWTGDQKSLAXk7RuWPapJ6b8zq9nMaodFkP5eKPiQzDOQm wE/rR3ES/rtNLCeCalQb0ZygPZIyIvJkRrxXNSqKEDOqnYac03nRXwRtFW08po1U8G1w XT1diSmGsS2eV88ffjXsyK/h6haLU+SYHjlixq1Ow3qn3JURvpy58nTrv/jWaXJsHvNc phlOOXMqG4J6cxqO+7IA4/jz2h6GMjS3Y1P99jisk2SDILu630r7Zg6eAbrm9/ONRhfG Udog== X-Gm-Message-State: ALyK8tL3TUMm8yxGAxaDvQXCHMVb/L91NQ4iYk1HqWFWWtZzujfyUXLRCwQIS+sQEE3IvA== X-Received: by 10.140.88.243 with SMTP id t106mr12173526qgd.98.1465925115566; Tue, 14 Jun 2016 10:25:15 -0700 (PDT) Received: from [192.168.43.233] ([172.56.35.7]) by smtp.gmail.com with ESMTPSA id 56sm2639368qtt.31.2016.06.14.10.25.13 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 14 Jun 2016 10:25:14 -0700 (PDT) Subject: Re: /usr/include/c++/v1/map:837:5: error: static_assert failed "Allocator::value_type must be same type as value_type" To: =?UTF-8?B?T3RhY8OtbGlv?= , freebsd-hackers@freebsd.org References: Reply-To: ADAM David Alan Martin From: ADAM David Alan Martin Message-ID: <57603DF3.5000400@gmail.com> Date: Tue, 14 Jun 2016 13:25:07 -0400 User-Agent: Mozilla/5.0 (X11; Linux armv7l; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rqbKoA0X45bsrt59sbcXm5el3vjoXCfL7" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2016 17:25:16 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rqbKoA0X45bsrt59sbcXm5el3vjoXCfL7 Content-Type: multipart/mixed; boundary="eRAPfn41KoGlEBAdf9sVnofQf6fEqGKNp" From: ADAM David Alan Martin Reply-To: ADAM David Alan Martin To: =?UTF-8?B?T3RhY8OtbGlv?= , freebsd-hackers@freebsd.org Message-ID: <57603DF3.5000400@gmail.com> Subject: Re: /usr/include/c++/v1/map:837:5: error: static_assert failed "Allocator::value_type must be same type as value_type" References: In-Reply-To: --eRAPfn41KoGlEBAdf9sVnofQf6fEqGKNp Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, On 06/14/16 00:05, Otac=C3=ADlio wrote: > I'm getting this error when I try compile the ORB-SLAM2 library. Some > one can give me a hint about it? > > > /usr/include/c++/v1/map:837:5: error: static_assert failed > "Allocator::value_type must be same type as value_type" > static_assert((is_same value_type>::value), It sounds like the code is using an STL allocator in a way which worked prior to C++11/14 changes to allocators. Could you post more of the compiler output? Is this a port in the ports tree? If not, could you point me at the source of ORB-SLAM2? > Thanks a lot. > > -Otac=C3=ADlio Regards, --=20 ADAM David Alan Martin --eRAPfn41KoGlEBAdf9sVnofQf6fEqGKNp-- --rqbKoA0X45bsrt59sbcXm5el3vjoXCfL7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXYD3zAAoJEJlQhGNp3mNxeSUP/2tTJPdxw75r8MdD6CUTpQWY VwXxT1phIzuePOqQfwAoGOddw7b81lwRllx0xsJTjYgUMqLaKW05Q7ylYzs+L40T BXBvumsX54W7wEJb17zvVzeDKH8weW5PXUzHv+auK1Zy/lPzaiVQGBg5ZJKeDP2r VzeWDWv4KZOwg/df31QYJt0543TRbwiWwRpjAWr9jCYJ6yGbL1uzhEZOfHednL7g E/s2S+wt8Hq5dpkLqttQuZE7jU0tPx8rZpoNnL/NPOdRAjOVkKyYG0o/XYvU/wPE 8kbPAKN/SehB3cdGTqmDxJTe7g3Ht4M2lPfmCEtCQd/WAHt3JzI3AGWies/UD4fl KcMQuXC2A6KaCxNShHlKcDherAtBxqInwgxT54C+W9godKpnBBYoFzivtWPfEqsg tdc6sPinJA3I4DPRU3M8x/8Yccmp9DaOZPThy8/eEMiBafOPGEzjBNA9QN7/1uFt v9kDphYYtVloRfX67abAYVAfUWz8Gd6RYPl1TfcYIszFEI5fT1ohBE9aJKoxFXtJ Emky48BAtvXqAXAE34kRR8TBViY3bzF0HPX2qTwoU05LSZTrnzS0fPO5rSfAn7It Kp9AlCEGlyqmB5pApAQsvA2eIXawviOPF9nJ7T7sJwsJQGqgh/l4jddAQ7L28Ts1 vOFOo7hu22TEWychF9p7 =Sr1d -----END PGP SIGNATURE----- --rqbKoA0X45bsrt59sbcXm5el3vjoXCfL7--