Re: How to define function-like macro?

2013-11-26 Thread Bernd Petrovitsch
On Die, 2013-11-26 at 10:50 +0800, 乃宏周 wrote: > I read manual already: > > -D name=definition The contents of definition are tokenized and processed > as if they appeared during translation phase three in a ‘#define’ > directive. In particular, the definition will be truncated by embedded > newlin

How to define function-like macro?

2013-11-25 Thread 乃宏周
I read manual already: -D name=definition The contents of definition are tokenized and processed as if they appeared during translation phase three in a ‘#define’ directive. In particular, the definition will be truncated by embedded newline characters. If you are invoking the preprocessor from a