Date: Mon, 3 Sep 2012 22:22:53 GMT From: Pawel Worach <pawel.worach@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/171298: [patch] fix build of devel/tinyq with clang Message-ID: <201209032222.q83MMrQO051054@red.freebsd.org> Resent-Message-ID: <201209032230.q83MU7uv083930@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171298 >Category: ports >Synopsis: [patch] fix build of devel/tinyq with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 03 22:30:07 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Pawel Worach >Release: FreeBSD 10.0-CURRENT >Organization: >Environment: >Description: This build with clang. In file included from project.cpp:46: ..work/tinyq-3.0.6/include/qvaluestack.h:53:32: error: use of undeclared identifier 'append' void push( const T& d ) { append(d); } ^ this-> >How-To-Repeat: >Fix: Patch attached with submission follows: diff -urN tinyq.orig/files/patch-include-qvaluestack.h tinyq/files/patch-include-qvaluestack.h --- tinyq.orig/files/patch-include-qvaluestack.h 2006-12-21 19:53:59.000000000 +0000 +++ tinyq/files/patch-include-qvaluestack.h 2012-09-03 22:18:27.000000000 +0000 @@ -1,6 +1,12 @@ ---- include/qvaluestack.h.orig Thu Dec 21 20:51:31 2006 -+++ include/qvaluestack.h Thu Dec 21 20:52:42 2006 -@@ -55,7 +55,7 @@ +--- include/qvaluestack.h.orig 2002-10-17 15:08:58.000000000 +0000 ++++ include/qvaluestack.h 2012-09-03 22:17:15.000000000 +0000 +@@ -50,12 +50,12 @@ + public: + QValueStack() {} + ~QValueStack() {} +- void push( const T& d ) { append(d); } ++ void push( const T& d ) { this->append(d); } + T pop() { T elem( this->last() ); if ( !this->isEmpty() ) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209032222.q83MMrQO051054>