[Harbour] HB_SYMBOL_UNUSED()

2009-12-03 Thread Mindaugas Kavaliauskas
Hi, it would be nice to have multiple parameter support for both C and .PRG version of HB_SYMBOL_UNUSED() macro. Sometimes I temporarily need to add dummy a function, or comment large piece of code of a large functions. This make generate variable defined but not used warnings and stops

Re: [Harbour] HB_SYMBOL_UNUSED()

2009-12-03 Thread Viktor Szakáts
Hi, it would be nice to have multiple parameter support for both C and .PRG version of HB_SYMBOL_UNUSED() macro. Sometimes I temporarily need to add dummy a function, or comment large piece of code of a large functions. This make generate variable defined but not used warnings and stops

Re: [Harbour] HB_SYMBOL_UNUSED()

2009-12-03 Thread Przemysław Czerpak
On Thu, 03 Dec 2009, Mindaugas Kavaliauskas wrote: Hi, it would be nice to have multiple parameter support for both C and .PRG version of HB_SYMBOL_UNUSED() macro. Variadic macros were added as part of C99 standard. Only few C compilers like GCC supported variadic macros before C99

Re: [Harbour] HB_SYMBOL_UNUSED()

2009-12-03 Thread Viktor Szakáts
Great. But folks pls lets not commit it to Harbour SVN, otherwise there will yet another things which will need permanent cleanup to keep our codebase coherent. Brgds, Viktor On 2009 Dec 3, at 20:42, Przemysław Czerpak wrote: On Thu, 03 Dec 2009, Mindaugas Kavaliauskas wrote: Hi, it

Re: [Harbour] HB_SYMBOL_UNUSED()

2009-12-03 Thread Mindaugas Kavaliauskas
Hi, Viktor Szakáts wrote: Great. But folks pls lets not commit it to Harbour SVN, otherwise there will yet another things which will need permanent cleanup to keep our codebase coherent. No problem for me, but I do not understand that is wrong with such commit, and what kind of cleanup are

Re: [Harbour] HB_SYMBOL_UNUSED()

2009-12-03 Thread Viktor Szakáts
Viktor Szakáts wrote: Great. But folks pls lets not commit it to Harbour SVN, otherwise there will yet another things which will need permanent cleanup to keep our codebase coherent. No problem for me, but I do not understand that is wrong with such commit, and what kind of cleanup are