This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Does g++ have a intel/msdn __COUNTER__ macro equivalent??
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'me'" <mgbg25171 at blueyonder dot co dot uk>, <gcc at gcc dot gnu dot org>
- Date: Tue, 4 Sep 2007 11:47:15 +0100
- Subject: RE: Does g++ have a intel/msdn __COUNTER__ macro equivalent??
- References: <1188896693.2828.16.camel@localhost.localdomain>
On 04 September 2007 10:05, me wrote:
> The point of this is that __COUNTER__ would assign consecutive numbers
> I can not find g++'s equivalent & wonder how I could achieve the same
> thing?
This feature was just added recently. It will be in all upcoming gcc-4.3
and later series releases. See
http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01579.html
cheers,
DaveK
--
Can't think of a witty .sigline today....