Re: [Lazarus] What is {%H-}?

2013-04-05 Thread Mattias Gaertner
On Fri, 05 Apr 2013 09:33:20 +0200 Lubos Pintes pin...@gmail.com wrote: I am seeing this on random places after parameters in function calls. I know about $ directives, so is % something different, or is that meant as a comment? http://wiki.freepascal.org/IDE_directives Mattias --

Re: [Lazarus] What is {%H-}?

2013-04-05 Thread Bart
On 4/5/13, Mattias Gaertner nc-gaert...@netcologne.de wrote: http://wiki.freepascal.org/IDE_directives Quote: Hint: You can right click on a hint in the message window and click on hide message via directive to insert the directive automatically. Very nice! Bart --

Re: [Lazarus] What is {%H-}?

2013-04-05 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Fri, 05 Apr 2013 09:33:20 +0200 Lubos Pintes pin...@gmail.com wrote: I am seeing this on random places after parameters in function calls. I know about $ directives, so is % something different, or is that meant as a comment?

Re: [Lazarus] What is {%H-}?

2013-04-05 Thread Florian Klämpfl
Am 05.04.2013 10:11, schrieb Mark Morgan Lloyd: Mattias Gaertner wrote: On Fri, 05 Apr 2013 09:33:20 +0200 Lubos Pintes pin...@gmail.com wrote: I am seeing this on random places after parameters in function calls. I know about $ directives, so is % something different, or is that meant as a

Re: [Lazarus] What is {%H-}?

2013-04-05 Thread Mattias Gaertner
Mark Morgan Lloyd markmll.laza...@telemetry.co.uk hat am 5. April 2013 um 10:11 geschrieben: Mattias Gaertner wrote: On Fri, 05 Apr 2013 09:33:20 +0200 Lubos Pintes pin...@gmail.com wrote: I am seeing this on random places after parameters in function calls. I know about $

Re: [Lazarus] What is {%H-}?

2013-04-05 Thread Alexander Klenin
On Fri, Apr 5, 2013 at 7:32 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: This is independent of the IDE directive {%H-}. It only works on the file position given by the compiler. Newer compilers might warn at different places within an expression, so sometimes you have to add two

Re: [Lazarus] What is {%H-}?

2013-04-05 Thread Mark Morgan Lloyd
Florian Klämpfl wrote: Am 05.04.2013 10:11, schrieb Mark Morgan Lloyd: Mattias Gaertner wrote: On Fri, 05 Apr 2013 09:33:20 +0200 Lubos Pintes pin...@gmail.com wrote: I am seeing this on random places after parameters in function calls. I know about $ directives, so is % something different,

Re: [Lazarus] What is {%H-}?

2013-04-05 Thread Sven Barth
Am 05.04.2013 13:25, schrieb Henry Vermaak: On 5 April 2013 10:43, Alexander Klenin kle...@gmail.com wrote: On Fri, Apr 5, 2013 at 7:32 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: This is independent of the IDE directive {%H-}. It only works on the file position given by the

Re: [Lazarus] What is {%H-}?

2013-04-05 Thread Sven Barth
Am 05.04.2013 14:52, schrieb Kostas Michalopoulos: You can use this: {$PUSH}{$WARN 5024 OFF} // Code where you dont want to get warnings about unused parameters {$POP} (you can put the push at the top of the implementation part of a unit and you wont get warnings for the rest of that unit)

Re: [Lazarus] What is {%H-}?

2013-04-05 Thread Alexander Klenin
On Sat, Apr 6, 2013 at 12:08 AM, Sven Barth pascaldra...@googlemail.com wrote: Am 05.04.2013 14:52, schrieb Kostas Michalopoulos: {$PUSH}{$WARN 5024 OFF} // Code where you dont want to get warnings about unused parameters {$POP} (you can put the push at the top of the implementation part of a