Bug#689552: "restrict" is a keyword in C99

2012-10-03 Thread Nathan Scott

- 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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#689552: "restrict" is a keyword in C99

2012-10-03 Thread Michael Tautschnig
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


pgppg81lDvVM0.pgp
Description: PGP signature