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

Bug#355264: argp.h: Inconsistent declaration of argp_usage



Package: libc6-dev
Version: 2.3.6-3
Severity: normal

When compiling a program including argp.h with -Ox and -pedantic
option an error is issued.

gcc-4.0 -O -pedantic argp.cpp
/usr/include/argp.h: In function 'void argp_usage(const argp_state*)':
/usr/include/argp.h:564: error: declaration of 'void argp_usage(const argp_state*) throw ()' throws different exceptions
/usr/include/argp.h:502: error: than previous declaration 'void argp_usage(const argp_state*)'

Seems to be the same problem as reported in
http://sources.redhat.com/bugzilla/show_bug.cgi?id=1373


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'stable'), (70, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2-susp-2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libc6-dev depends on:
ii  libc6                      2.3.6-3       GNU C Library: Shared libraries an
ii  linux-kernel-headers       2.6.13+0rc3-2 Linux Kernel Headers for developme

Versions of packages libc6-dev recommends:
ii  gcc [c-compiler]              4:4.0.2-2  The GNU C compiler
ii  gcc-4.0 [c-compiler]          4.0.2-9    The GNU C compiler

-- no debconf information



Reply to: