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

Bug#222514: libc6-dev: restrict_arr should be #define'd empty if __STRICT_ANSI__ is defined

Package: libc6-dev
Version: 2.3.2.ds1-10
Severity: minor

ANSI/ISO C90 does not know the restrict keyword for arrays. In
<sys/cdefs.h> it should be checked for the __STRICT_ANSI__ macro.

Line 245:
#if __GNUC_PREREQ (3,1) && !defined __GNUG__

Should be:
#if __GNUC_PREREQ (3,1) && !defined __GNUG__ && !defined __STRICT_ANSI__

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux wwid 2.4.21-3-k7 #1 Sun Jul 20 19:23:36 EST 2003 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (ignored: LC_ALL set to de_DE@euro)

Versions of packages libc6-dev depends on:
ii  libc6                 2.3.2.ds1-10       GNU C Library: Shared libraries an
ii  linux-kernel-headers  2.5.999-test7-bk-9 Linux Kernel Headers for developme

-- no debconf information

Reply to: