From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29586 invoked by alias); 30 Apr 2010 09:55:05 -0000 Received: (qmail 28321 invoked by uid 48); 30 Apr 2010 09:54:38 -0000 Date: Fri, 30 Apr 2010 09:55:00 -0000 Message-ID: <20100430095438.28320.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/42579] [PATCH] support for obtaining file basename In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "cfriedt at visible-assets dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-04/txt/msg03329.txt.bz2 ------- Comment #4 from cfriedt at visible-assets dot com 2010-04-30 09:54 ------- (In reply to comment #0) > Please consider this patch. It adds support for obtaining file basename via > __FILE_BASENAME__. Please do! What would also be really nice would be to have similar functionality for C++, with __CLASS__ and __METHOD__ macros. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42579