From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5888 invoked by alias); 10 Nov 2006 19:06:51 -0000 Received: (qmail 5745 invoked by uid 48); 10 Nov 2006 19:06:37 -0000 Date: Fri, 10 Nov 2006 19:06:00 -0000 Message-ID: <20061110190637.5741.qmail@sourceware.org> From: "eggert at gnu dot org" To: glibc-bugs@sources.redhat.com In-Reply-To: <20061031200834.3440.eggert@gnu.org> References: <20061031200834.3440.eggert@gnu.org> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/3440] locale.h macros like LC_ALL are not usable in #if X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00038.txt.bz2 List-Id: ------- Additional Comments From eggert at gnu dot org 2006-11-10 19:06 ------- But this patch does not make it harder to debug programs, since it is already the case that macros like LC_ALL are typically unavailable in the debug info. has "#define LC_ALL __LC_ALL", and unless you use something like gcc -g3, gdb won't see the LC_ALL. If you like, I can rework the patch so that macros like __LC_ALL are available in the debug info, but I doubt whether any normal users would care so I don't see the point. A better possibility is to rework this patch so that LC_ALL is typically available in the debug info, while still conforming to C99 and POSIX. This would require changing locale.h as well. I can submit that patch if you prefer. (The patches for math.h and fenv.h -- bug 3439 -- are in a different category; I'll look at them a bit later.) -- http://sourceware.org/bugzilla/show_bug.cgi?id=3440 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.