bug-autoconf
[Top][All Lists]
Advanced

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

Feature: C preprocessor supports __func__ or __FUNCTION__?


From: R. Bernstein
Subject: Feature: C preprocessor supports __func__ or __FUNCTION__?
Date: Sat, 13 Jul 2002 20:58:07 -0400

Correct me if I am wrong, but it doesn't look like there is a macro
that can be used to test if the C preprocessor __func__ or
__FUNCTION__ "variables" work. I'd imagine such a test would produce
in config.h

#define __func__ __FUNCTION__ 

if only __FUNCTION__ works, or nothing if __func__ works or 

#define __func__ "" 

if neither works.

Is there a way to handle this already. If not, should I try to supply
a patch to provide such a feature?

Thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]