[fpc-pascal] Something I discovered using "Hint" directives.

Paul Ishenin webpirat at mail.ru
Tue Nov 3 00:29:54 CET 2009


fpclist at silvermono.co.za wrote:
> Two of the four hint directives listed on page 11 of the Reference Guide for 
> Free Pascal, version 2.2.4 don't work as described in the manual.
>   
Actually there are 5 hint directives: platform, library, unimplemented, 
experimental and deprecated.
> The "Experimental" directive causes the compiler to stop with a syntax error.
> The example program listed on page 11 doesn't compile because of 
> the "Experimental" directive. 
>
> The "Unimplemented" directive seems to be ignored. (This directive is 
> mis-spelt in the manual, but this, I am quite sure, is not the cause of the 
> compile time error).
>
> Are these known issues?
>   
Have you tried with the trunk compiler?  Last time I tried all 5 worked 
fine. The only thing is that the library directive showed no warning but 
this is fixed now.

Best regards,
Paul Ishenin.



More information about the fpc-pascal mailing list