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]

Re: Fwd: A little patch submission


> 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.

You need to document this extension.

Paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]