Debian Bug report logs - #689552
"restrict" is a keyword in C99

version graph

Package: pcp; Maintainer for pcp is PCP Development Team <pcp@groups.io>; Source for pcp is src:pcp (PTS, buildd, popcon).

Reported by: Michael Tautschnig <mt@debian.org>

Date: Wed, 3 Oct 2012 22:51:05 UTC

Severity: normal

Found in version pcp/3.6.4

Fixed in version pcp/3.8.8

Done: Nathan Scott <nathans@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Nathan Scott <nathans@debian.org>:
Bug#689552; Package pcp. (Wed, 03 Oct 2012 22:51:07 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Tautschnig <mt@debian.org>:
New Bug report received and forwarded. Copy sent to Nathan Scott <nathans@debian.org>. (Wed, 03 Oct 2012 22:51:07 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Michael Tautschnig <mt@debian.org>
To: bugs@debian.org
Subject: "restrict" is a keyword in C99
Date: Wed, 3 Oct 2012 23:50:24 +0100
[Message part 1 (text/plain, inline)]
Package: pcp
Version: 3.6.4

src/pmdas/logger/event.c, function event_config, uses "restrict" as a variable
name.  This collides with the fact that in C99 "restrict" is a keyword.
Compilers that default to C99-mode, or gcc -std=c99, fail to compile this code.

Best,
Michael
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#689552; Package pcp. (Wed, 03 Oct 2012 23:27:12 GMT) (full text, mbox, link).


Acknowledgement sent to Nathan Scott <nathans@debian.org>:
Extra info received and forwarded to list. (Wed, 03 Oct 2012 23:27:12 GMT) (full text, mbox, link).


Message #10 received at 689552@bugs.debian.org (full text, mbox, reply):

From: Nathan Scott <nathans@debian.org>
To: Michael Tautschnig <mt@debian.org>, 689552@bugs.debian.org
Subject: Re: Bug#689552: "restrict" is a keyword in C99
Date: Wed, 3 Oct 2012 19:13:26 -0400 (EDT)
----- Original Message -----
> 
> src/pmdas/logger/event.c, function event_config, uses "restrict" as a
> variable
> name.  This collides with the fact that in C99 "restrict" is a
> keyword.
> Compilers that default to C99-mode, or gcc -std=c99, fail to compile
> this code.
> 

Thanks Michael, good timing too - we'll probably be putting out a PCP
release late next week, I'll make sure change this is included.

cheers.

--
Nathan



Added tag(s) pending. Request was from Anibal Monsalve Salazar <anibal@debian.org> to control@bugs.debian.org. (Wed, 19 Jun 2013 08:09:08 GMT) (full text, mbox, link).


Reply sent to Nathan Scott <nathans@debian.org>:
You have taken responsibility. (Sat, 09 Nov 2013 03:51:09 GMT) (full text, mbox, link).


Notification sent to Michael Tautschnig <mt@debian.org>:
Bug acknowledged by developer. (Sat, 09 Nov 2013 03:51:09 GMT) (full text, mbox, link).


Message #17 received at 689552-done@bugs.debian.org (full text, mbox, reply):

From: Nathan Scott <nathans@debian.org>
To: 689552-done@bugs.debian.org
Subject: Re: "restrict" is a keyword in C99
Date: Fri, 8 Nov 2013 22:47:21 -0500 (EST)
Package: pcp
Version: 3.8.8
 
Verified the upstream pcp source no longer uses the "restrict" keyword.



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 11 Dec 2013 07:26:47 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Oct 22 19:20:48 2017; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.