views:

64

answers:

0

We have some legacy code that compiles in Delphi 6. There are plans to rewrite it in a more current IDE, but they are a ways out.

When we compile it we get several warnings like this:

FPrecision is specific to a platform.

This is in VCL\DB.pas. (Not our file.) FPrecision is defined like this:

FPrecision Integer Platform

I can see why it is platform specific, but I don't really see what to do about it.

This only started happening when we moved to Windows 7 to develop on.

I saw this question, but the solution does not work for me. I cannot add the pre-compiler tags to DB.pas and the project file does not have any options (that I can see) to suppress just this warning.

Is my only option to turn off all warnings or live with it?