[sr-dev] git:master: cfg: extended preprocessor directives

Daniel-Constantin Mierla miconda at gmail.com
Sun Apr 25 15:05:47 CEST 2010



On 4/24/10 10:29 AM, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>    
>> 	- multilines defines are reduced to single line, so line counter
>> 	  should be fine
>>      
> daniel,
>
> it should be possible to place the defines in a separate file from the
> main config file, which would thus not need to be changed, when some
> constant values are changed.
>
> the line numbers in error messages should match the ones of the main
> config file. is this currently supported?
>
>    
the lines match even with defines, there is no issue with that. However, 
there is include_file that you can use for a special file with defines.
http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.0.x#include_file

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/
* http://twitter.com/miconda
* http://www.linkedin.com/in/danielconstantinmierla




More information about the sr-dev mailing list