This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
bad macro definition: gettext
- From: "Troy A. Griffitts" <scribe at crosswire dot org>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 24 Jun 2002 10:46:20 -0700
- Subject: bad macro definition: gettext
- Organization: CrossWire Bible Society
hey guys,
It seems that recently you have defined 'gettext' as a macro. This
really screws up my C++ framework that has a member function called
gettext in one of it's classes.
myClass->gettext(...) should NOT use your macro, but still does (by
correct C++ symantecs). I would suggest replacing the macro definition
with an inline function, if C++.
Thanks,
-Troy A. Griffitts.
PS. I am not subscribed to this list, so if you reply, be sure to hit
my From: address.