WPCubed Product Support

Compiler Warnings

Hi folks,

In my delphi project I statically link the wptools sources into my projects - also adjusting the wpinc.inc file a bit. Basically I include there the png object and statically link the wpdf component into my project.

Unfortunately the compilation of the included wptools pascal files always created some artificial warnings. Our automatic building tool and our internal policy does not allow any messages nor warnings so the build always breaks. I always have to change the sources such that these warnings disapears so I wanted to ask if that could be changed in future releases (or is there something I missed?).

Is there actually a reason why these messages are included in the code - I don't see any relevance in them....

Also there are some compiler warnings in wpctrMemo.pas resulting in an possibly unassigned variable on lines 6461 and 11848 .

best regards
Mike

#1 ♥ 0
3.6k Views 2 users read 2 min
support

The arificial warnings are useful for our build tool for WPTools standard. It is also useful to know if WPTools is compiled as V5 or V6, as regular oder with premium features. So the messages make sense for me.

If your build tool has trouble with the warnings there is an easy way to avoid them:

  • Compile WPTools once
  • Move the WPTools PAS files to a subdirectory

Now only the DCUs are found.

#2 ♥ 0
This category is archived. No new posts are possible.