Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2009-11

Is the switch PREPROCWRITE still alive?

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Giuliano Colla

I'm toying with the idea of implementing a feature in FPC.

Out of sheer laziness I just tried to compile the FPC sources which I had downloaded together with Lazarus rpm's, and, to my wonder, I got a functioning compiler, so I began playing with it.

I found a compilation switch "PREPROCWRITE" which apparently causes to write the preprocessor output, and which would be very useful to debug my feature. But if I try to enable it, then I get a number of undefined, namely the procedure "Get_directive" and the identifiers "is_conditional", "_DIR_DEFINE" and "_DIR_UNDEF". Searching in the source tree they appear not to be anywhere.

Are they only to be found in svn repository, or it's just stale stuff, not used anymore?

Many thanks,

Giuliano

Giuliano Colla Whenever people agree with me, I always feel I must be wrong (O. Wilde)

Reply by email

Jonas Maebe
to Giuliano Colla
Giuliano Colla wrote 10 lines
I found a compilation switch "PREPROCWRITE" which apparently causes to write the preprocessor output, and which would be very useful to debug my feature. But if I try to enable it, then I get a number of undefined, namely the procedure "Get_directive" and the identifiers "is_conditional", "_DIR_DEFINE" and "_DIR_UNDEF". Searching in the source tree they appear not to be anywhere. Are they only to be found in svn repository, or it's just stale stuff, not used anymore?

I think it's indeed stale code that hasn't been maintained since a long time.

Jonas

Reply by email

Giuliano Colla
to Jonas Maebe

Jonas Maebe ha scritto:

Show quoted text 7 lines
On 23 Nov 2009, at 12:49, Giuliano Colla wrote: I think it's indeed stale code that hasn't been maintained since a long time.

Thanks a lot,

Giuliano

Giuliano Colla Whenever people agree with me, I always feel I must be wrong (O. Wilde)

Reply by email