XE2 System Types

  • This topic has 2 replies, 2 voices, and was last updated 13 years ago by TAZ.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34931
    TAZ
    Participant

    Hello,

    When I compile my project in XE2 the compiler is asking the following:

    [DCC Hint] sSpinEdit.pas(437): H2443 Inline function 'Point' has not been expanded because unit 'System.Types' is not specified in USES list

    [DCC Hint] sLabel.pas(401): H2443 Inline function 'Point' has not been expanded because unit 'System.Types' is not specified in USES list

    [DCC Hint] acAlphaHints.pas(323): H2443 Inline function 'Point' has not been expanded because unit 'System.Types' is not specified in USES list

    [DCC Hint] sHintManager.pas(330): H2443 Inline function 'Point' has not been expanded because unit 'System.Types' is not specified in USES list

    I imagine that there are several other components that have this hint message.

    Is there a plan to add this to the USES list?

    Thanks.

    #47319
    Support
    Keymaster

    Hello

    Can you show an example of project with such hints, please?

    #47325
    TAZ
    Participant

    My project is very big and complicated. I have not been able to produce a simple project with the hints. Embarcadero must have changed something concerning the Inline function because the compiler statement is listed in Delphi 2010 and it does not produce those hints. TMS Grid also produces these hints.

    Embarcadero states that you can turn off the hint message.

    http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/devcommon/cm_inline_units_incomplete_xml.html

    However, I prefer to just add the unit in the USES clause to satisfy the hint and will do it for each unit that I have source code. It is just a hint which means that it should be be detrimental to my project.

    I always try to keep my projects free of hints and warnings (I do not turn them off).

    Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.