Re: gcc preprocessor

2007-04-20 Thread Robert Dewar
drizzle drizzle wrote: Any developer sense on what it might take to extend the gcc preprocessor to do these ? I have some experience with gcc front end. I am especially keen abt multiline macros, so that the lines can be on separate lines. Any neat trick that can accomplish this by using #define

Re: gcc preprocessor

2007-04-20 Thread David Daney
drizzle drizzle wrote: Any developer sense on what it might take to extend the gcc preprocessor to do these ? I have some experience with gcc front end. I am especially keen abt multiline macros, so that the lines can be on separate lines. Any neat trick that can accomplish this by using #define

Re: gcc preprocessor

2007-04-20 Thread drizzle drizzle
Any developer sense on what it might take to extend the gcc preprocessor to do these ? I have some experience with gcc front end. I am especially keen abt multiline macros, so that the lines can be on separate lines. Any neat trick that can accomplish this by using #define ? dz On 4/20/07, Joe B

Re: gcc preprocessor

2007-04-20 Thread Joe Buck
On Fri, Apr 20, 2007 at 01:27:48PM -0400, drizzle drizzle wrote: > Ok can you tell me what directives does it provide to do what I > have said . And I am not a beginner to gcc. The answer is that gcc provides what the C standard specifies and nothing more. You appear to want a more complica

RE: gcc preprocessor

2007-04-20 Thread Dave Korn
On 20 April 2007 18:28, drizzle drizzle wrote: > Ok can you tell me what directives does it provide to do what I > have said . And I am not a beginner to gcc. Then you should have RTFMd by now. cheers, DaveK -- Can't think of a witty .sigline today

Re: gcc preprocessor

2007-04-20 Thread drizzle drizzle
Ok can you tell me what directives does it provide to do what I have said . And I am not a beginner to gcc. 1. Repeating a block a certain number of times for example repeat expr foo() end Then you can call expr 5 to have foo called 5 times. 2. Multiline macros with new lines

Re: gcc preprocessor

2007-04-18 Thread Joe Buck
On Wed, Apr 18, 2007 at 09:07:07PM -0400, drizzle drizzle wrote: > Can some one tell me if gcc preprocessor can support in some way > the following > features You are asking a beginner C programming question. gcc's preprocessor does what standard C preprocessors do.