Bug#164872: g++-3.2: Defines _GNU_SOURCE
Package: g++-3.2
Version: 1:3.2.1-0pre3
Severity: normal
Tags: upstream
GCC 3.2 appears to define _GNU_SOURCE unconditionally. This is somewhat
unhelpful if one wishes to use the feature selection macros provided by
glibc to choose which APIs are provided by the library.
This appears to be a long-standing upstream decision:
http://gcc.gnu.org/ml/gcc/2000-11/msg01084.html
although I can't see any discussion of motivation for this.
Grovelling around on the GCC website it appears that the issue is that
libstdc++ needs _GNU_SOURCE although I can't quite be sure about that.
-- System Information:
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux damiel 2.4.19-pre10-ben0 #9 Sun Jun 9 13:02:50 BST 2002 ppc
Locale: LANG=en_GB, LC_CTYPE=en_GB
Versions of packages g++-3.2 depends on:
ii gcc-3.2 1:3.2.1-0pre3 The GNU C compiler.
ii gcc-3.2-base 1:3.2.1-0pre3 The GNU Compiler Collection (base
ii libc6 2.2.5-15 GNU C Library: Shared libraries an
ii libstdc++5-dev 1:3.2.1-0pre3 The GNU stdc++ library version 3 (
-- no debconf information
Reply to: