Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-11

Something I discovered using "Hint" directives.

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Hi,

FPC 2.2.4 refers.

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.

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?

The directives listed on page 11 of the manual issue warnings during compilation. Why are they refered to as "Hint" directives?

Regards,
Nino

Paul Ishenin
to Unknown author
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.

Show quoted text 10 lines
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.