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

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



On 2012-10-01 16:40:07 +0100, Michael Tautschnig <mt@debian.org>
wrote in <[🔎] 20121001154007.GE6916@l04.local>:
> Package: ax25-tools
> Version: 0.0.10-rc2+cvs20120204-3
> 
> tcpip/rip98d.c 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.

just fixed upstream.

$ 
grep route_restrict *
rip98d.c:int route_restrict   = FALSE;
rip98d.c:		if (route_restrict) {
rip98d.c:				route_restrict = TRUE;
rip98d.h:extern int route_restrict;
rip98r.c:		if (route_restrict) {


see: http://www.linux-ax25.org/cvsweb/ax25-tools/tcpip/

vy 73,
	- Thomas  dl9sau


Reply to: