This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Sorry, forgot the attachment.
----- Forwarded message from lkeren@cs.technion.ac.il -----
Date: Thu, 14 Sep 2006 10:54:05 +0300
From: lkeren@cs.technion.ac.il
Reply-To: lkeren@cs.technion.ac.il
Subject: A little patch submission
To: gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org
Hello,
I would like to submit a small patch to libcpp.
This patch adds to C++ preprocessor the __COUNTER__ macro.
The __COUNTER__ macro expands to an unsigned integer constant starting with 0
and incrementing by 1 every time it is used in a compiland.
It is supported by Microsoft compiler.
Attached is a diff file of the patch.
Thanks,
Keren.
----- End forwarded message -----
Attachment:
patch_diff.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |