[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#279909: marked as done (compilation of example results in error due to missing 'const' in Plotter::parampl declaration)



Your message dated Fri, 6 May 2005 21:30:31 +0200
with message-id <20050506193031.GA13657@irb.hr>
and subject line compilation of example results in error due to missing 'const' in Plotter::parampl declaration
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Nov 2004 21:30:45 +0000
>From relf@os2.ru Fri Nov 05 13:30:45 2004
Return-path: <relf@os2.ru>
Received: from mxc.rambler.ru [81.19.66.31] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CQBfQ-0002Pl-00; Fri, 05 Nov 2004 13:30:45 -0800
Received: from mailc.rambler.ru (mailc.rambler.ru [81.19.66.27])
	by mxc.rambler.ru (Postfix) with ESMTP id C07FECDA78
	for <submit@bugs.debian.org>; Sat,  6 Nov 2004 00:30:40 +0300 (MSK)
Received: from [132.239.10.138] (cse-air-dhcp-138.ucsd.edu [132.239.10.138])
	(authenticated bits=0)
	by mailc.rambler.ru (8.12.10/8.12.10) with ESMTP id iA5LUcYl063898
	for <submit@bugs.debian.org>; Sat, 6 Nov 2004 00:30:40 +0300 (MSK)
Message-ID: <418BF0FB.8090401@os2.ru>
Date: Fri, 05 Nov 2004 13:30:35 -0800
From: Max Alekseyev <relf@os2.ru>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20041104
X-Accept-Language: ru, en-us, en
MIME-Version: 1.0
To: submit@bugs.debian.org
Subject: compilation of example results in error due to missing 'const' in
 Plotter::parampl declaration
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 7bit
X-Auth-User: relf, whoson: (null)
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: libplot-dev
Version: 2.4.1-10
Severity: minor

On attempt to compile C++ example from 
http://www.gnu.org/software/plotutils/manual/html_node/plotutils_57.html
g++ 3.4.2 reports the following

test.cpp: In function `int main()':
test.cpp:20: error: invalid conversion from `const void*' to `void*'
test.cpp:20: error:   initializing argument 2 of `static int Plotter::parampl(const char*, void*)'




---------------------------------------
Received: (at 279909-done) by bugs.debian.org; 6 May 2005 19:30:40 +0000
>From mvela@irb.hr Fri May 06 12:30:40 2005
Return-path: <mvela@irb.hr>
Received: from mail.irb.hr [161.53.22.8] (UNKNOWN)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DU8X1-0002ld-00; Fri, 06 May 2005 12:30:40 -0700
Received: from localhost (localhost [127.0.0.1])
	by mail.irb.hr (8.13.3/8.13.3/Debian-6) with ESMTP id j46JUc80015442;
	Fri, 6 May 2005 21:30:38 +0200
Received: from mail.irb.hr (mvela@localhost [127.0.0.1])
	by mail.irb.hr (8.13.3/8.13.3/Debian-6) with ESMTP id j46JUXWC015435
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Fri, 6 May 2005 21:30:33 +0200
Received: (from mvela@localhost)
	by mail.irb.hr (8.13.3/8.13.3/Submit) id j46JUWYv015431;
	Fri, 6 May 2005 21:30:32 +0200
Date: Fri, 6 May 2005 21:30:31 +0200
From: Matej Vela <vela@debian.org>
To: 279909-done@bugs.debian.org
Cc: Floris Bruynooghe <fb102@soton.ac.uk>
Subject: Re: compilation of example results in error due to missing 'const' in Plotter::parampl declaration
Message-ID: <20050506193031.GA13657@irb.hr>
References: <418BF0FB.8090401@os2.ru>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <418BF0FB.8090401@os2.ru>
User-Agent: Mutt/1.5.6+20040907i
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at irb.hr
Delivered-To: 279909-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

On Fri, Nov 05, 2004 at 01:30:35PM -0800, Max Alekseyev wrote:
> Package: libplot-dev
> Version: 2.4.1-10
> Severity: minor
> 
> On attempt to compile C++ example from 
> http://www.gnu.org/software/plotutils/manual/html_node/plotutils_57.html
> g++ 3.4.2 reports the following
> 
> test.cpp: In function `int main()':
> test.cpp:20: error: invalid conversion from `const void*' to `void*'
> test.cpp:20: error:   initializing argument 2 of `static int 
> Plotter::parampl(const char*, void*)'

The above page is outdated, it documents version 2.2.  Version 2.4.1
provides an updated example which compiles cleanly with g++ 3.4.3.

Thanks,

Matej



Reply to: