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, goo

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 Desc