From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 4 10:23:29 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 449588CC for ; Mon, 4 May 2015 10:23:29 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2E0841AFE for ; Mon, 4 May 2015 10:23:29 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t44ANT1Z058676 for ; Mon, 4 May 2015 10:23:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 199916] games/wxlauncher: fails to build with WX3 on 8.4R and 9.3R Date: Mon, 04 May 2015 10:23:29 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2015 10:23:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199916 --- Comment #2 from Jan Beich --- Created attachment 156330 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=156330&action=edit unbreak -std=c++11 on FreeBSD 10+ // sys/_null.h on FreeBSD #if __cplusplus >= 201103L #define NULL nullptr -std=c++11 with above NULL definition turns the following warning into an error: code/apis/ProfileManager.cpp:310:11: warning: comparison between NULL and non-pointer (NULL and 'int') [-Wnull-arithmetic] (NULL != lastDownloadNews.ParseFormat( ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ becomes code/apis/ProfileManager.cpp:310:11: error: use of overloaded operator '!=' is ambiguous (with operand types 'nullptr_t' and 'wxAnyStrPtr') (NULL != lastDownloadNews.ParseFormat( ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.