Get rid of deprecated warnings in hydra


(Frederic Vancraeyveldt) #1

Is there a way to get rid of the deprecated warning when using uHYVCLCrossPlatformPluginHostWrapper

(EvgenyK) #2

add {$WARN SYMBOL_DEPRECATED OFF} into type section before THYVCLCrossPlatformPluginHostWrapper declaration

(Frederic Vancraeyveldt) #3

I mean without changing RO code.
It seems to me it is unavoidable to have this warning when using this hydra functionality.
I was wondering if there was a way I did not know of

(EvgenyK) #4

you can disable generation of this warning for your project:

(Frederic Vancraeyveldt) #5

Hmm, this defeats the purpose.
We have a 0 hint and 0 warning policy for our builds.
The goal is to notice all our own hints and warnings which often match unsafe or buggy code.
When 3rd party software adds to the list it is easier for our hints and warnings to go unnoticed.

(EvgenyK) #6

use my solution with {$WARN SYMBOL_DEPRECATED OFF} then.
it will be in next version of Hydra.

(Frederic Vancraeyveldt) #7

OK, Thanks

(RemObjects) #8

Thanks, logged as bugs://80665

(RemObjects) #9

bugs://80665 got closed with status fixed.