Re: [SR-Users] Preprocessor define puzzle

2015-11-08 Thread Alex Balashov
On 11/09/2015 02:03 AM, Daniel-Constantin Mierla wrote: for completion -- there should be a log message printed at startup when the number of ifdefs/endifs is not the same. Indeed there was. That's what helped me catch it. :-) -- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter

Re: [SR-Users] Preprocessor define puzzle

2015-11-08 Thread Daniel-Constantin Mierla
Hello, for completion -- there should be a log message printed at startup when the number of ifdefs/endifs is not the same. Cheers, Daniel On 09/11/15 06:39, Alex Balashov wrote: > I traced this bizarre behaviour to an unbalanced number of > ifdefs/endifs, although it's still bizarre. > > On 11/

Re: [SR-Users] Preprocessor define puzzle

2015-11-08 Thread Alex Balashov
I traced this bizarre behaviour to an unbalanced number of ifdefs/endifs, although it's still bizarre. On 11/08/2015 09:22 PM, Alex Balashov wrote: Hi, I've got: # define WITH_VENDOR_ROUTING_LNPOIP at the top of my config. This is intended to mean that this constant is commented out and dis

[SR-Users] Preprocessor define puzzle

2015-11-08 Thread Alex Balashov
Hi, I've got: # define WITH_VENDOR_ROUTING_LNPOIP at the top of my config. This is intended to mean that this constant is commented out and disabled ('# define' vs. '#!define'), and tests correctly in a given request route. Later: route[STAGE_3] { ... #!ifdef WITH_VENDOR_ROUTING_LNPOIP