[Interest] how to add comments of member function defined with macro?

tang ke tangk at lemote.com
Tue Feb 26 07:52:07 CET 2013


On 02/26/2013 01:11 PM, Thiago Macieira wrote:
> On terça-feira, 26 de fevereiro de 2013 11.54.43, tang ke wrote:
>> #define _DECLARE_INT2ENUMSTRING(Enum) \
> Note that underscore + capital letter is reserved to the compiler. You should
> not use that combinations.
>
> The compilers have been actively using those, like the new C11 _Atomic and
> _Bool and _Complex types, the _Unwind* functions and the _Z C++ prefix.
Thanks very much, I will delete the underscore.

But This is not solve my problem.

Maybe I will expand this macro use the gcc -e ?

How to solve this issue with qt source code. such as Q_OBJECT.
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest


-- 
应用部  唐科
TEL : 0512-52308661-88686
FAX: 0512-52308688
MP : 18962393077
E-mail: tangk at lemote.com
地址:江苏省常熟市虞山镇梦兰工业园




More information about the Interest mailing list