0

in eclipse java there are operators that help suppress warning in code.

is such suppression in delphi?

and

warning off

warning on

is two commands.

Cœur
  • 37,241
  • 25
  • 195
  • 267
none
  • 4,669
  • 14
  • 62
  • 102
  • Yes, these are called "compiler directives". One example is `{$WARN NO_RETVAL OFF}` / `{$WARN NO_RETVAL ON}`. – Andreas Rejbrand Mar 15 '11 at 15:10
  • @Andreas, why is your answer posted as a comment... I think your answer is ok and shall be posted as an answer. :) – jachguate Mar 15 '11 at 15:14
  • @jachguate: I didn't feel it was complete enough for an answer... Besides, I suspect this is a duplicate question. – Andreas Rejbrand Mar 15 '11 at 15:15
  • No there isn't, and anyone who says otherwise gets shot!!! -- Seriously though, Hints & Warnings tell you there's a problem. Don't _hide_ the problem **fix** it! – Disillusioned Mar 17 '11 at 18:28

1 Answers1

1

In case you haven't found it, these can very easily be controlled from the Project Options dialog:

enter image description here

David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490