Recent

Author Topic: unit hint directives  (Read 366 times)

alpine

  • Hero Member
  • *****
  • Posts: 891
unit hint directives
« on: August 29, 2023, 10:59:27 am »
Does anybody know what are the unit hint directives as given in the 'unit header' diagram at https://www.freepascal.org/docs-html/current/ref/refse112.html#x233-25700016.2 ?
"I'm sorry Dave, I'm afraid I can't do that."
—HAL 9000

wp

  • Hero Member
  • *****
  • Posts: 11482
Re: unit hint directives
« Reply #1 on: August 29, 2023, 11:21:03 am »
I think it's this one: https://www.freepascal.org/docs-html/ref/refse5.html

But you should file an FPC documentation bug report. Since "hint directives" is not explained on the page that you mention there should be at least a link to https://www.freepascal.org/docs-html/ref/refse5.html.

alpine

  • Hero Member
  • *****
  • Posts: 891
Re: unit hint directives
« Reply #2 on: August 29, 2023, 12:39:14 pm »
I think it's this one: https://www.freepascal.org/docs-html/ref/refse5.html

But you should file an FPC documentation bug report. Since "hint directives" is not explained on the page that you mention there should be at least a link to https://www.freepascal.org/docs-html/ref/refse5.html.
Thaks wp, I should have looked harder. Found this accidentally, I only knew about deprecated for class properties.

Same with constants: https://www.freepascal.org/docs-html/ref/refse9.html#x21-200002.1, variables: https://www.freepascal.org/docs-html/ref/refse22.html#x53-730004.2 and class properties: https://www.freepascal.org/docs-html/ref/refsu33.html#x87-1110006.7.1 - hint directives are left unexplained.

Issue https://gitlab.com/freepascal.org/fpc/source/-/issues/40416
« Last Edit: August 29, 2023, 12:51:05 pm by alpine »
"I'm sorry Dave, I'm afraid I can't do that."
—HAL 9000

 

TinyPortal © 2005-2018