[fpc-pascal] -gl -Co as compiler directives?

2004-10-18 Thread Alan Mead
Are there a source-code directives to generate line numbers and check overflows? I compile my code on several systems and it's a lot more convenient enabling or disabling these in the code. -Alan ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lis

Re: [fpc-pascal] -gl -Co as compiler directives?

2004-10-18 Thread Jonas Maebe
On 18 okt 2004, at 19:14, Alan Mead wrote: Are there a source-code directives to generate line numbers Not directly, although although you can get the same effect by using {$d+} uses lineinfo; (as long as you want the equivalent of -gl, and not of -g-l) and check overflows? {$q+} Jonas

Re: [fpc-pascal] -gl -Co as compiler directives?

2004-10-18 Thread Alan Mead
Thanks! However, lininfo doesn't seem to be working in 1.9.4 (it seems to be included but it does not duplicate the behavior of -gl in that line numbers are NOT shown when there is an exception). Is this maybe a more recent addition? Or am I confused? Thanks again. -Alan --- Jonas Maebe <[EMA