[fpc-devel] Const optimization is a serious bug

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Tue Jul 5 14:22:55 CEST 2011


On Tue, Jul 5, 2011 at 1:04 PM, Thaddy <thaddy at thaddy.com> wrote:
> On 5-7-2011 12:34, Felipe Monteiro de Carvalho wrote:
>>
>> Maybe the compiler should start issuing hints or warnings for all
>> places where one uses const with ansistring, so that people who don't
>> care about the speed advantage can start removing those const
>> ansistrings from their code base.
>>
> Yes, but is is no bug!

ppcontroller.pas(40,31) Hint: Parameter "AStartDate" not used

That's also not a bug, but nevertheless the compiler issued a Hint for it.

-- 
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list