PDA

View Full Version : Compiler Options / Switches



Clive Richmond
20-Jul-2018, 12:27 AM
Are there any new compiler command line options to cater for the following new enhancements?


Report / Suppress warnings. When reporting warnings, it would be useful if they were also placed in a separate file like errors.
Embed Manifest File.

DataFlex 19.1-a3

Stephen W. Meeley
20-Jul-2018, 01:07 PM
Hi Clive,

There is a compiler switch (y) that will turn on warnings. The level of warnings will still be controlled in your application code (just like within the Studio, where the 'suppress warnings" checkbox just turns them on or off at the start and the code settings take over from there).

No plans for a different file for warnings at this time (perhaps in a future rev).

The embedding of the mainifest file is controlled by the EmbedManifestFile=1 (or 0) setting in the project.cfg file. No plans for a compiler switch for that.

Clive Richmond
25-Jul-2018, 02:32 AM
Hi Stephen,


There is a compiler switch (y) that will turn on warnings. The level of warnings will still be controlled in your application code (just like within the Studio, where the 'suppress warnings" checkbox just turns them on or off at the start and the code settings take over from there).

No plans for a different file for warnings at this time (perhaps in a future rev).

The embedding of the mainifest file is controlled by the EmbedManifestFile=1 (or 0) setting in the project.cfg file. No plans for a compiler switch for that.

These will work for us. Although a different file for warnings would be nice as it makes it easier to delegate the work elsewhere. For now we can extract the warnings via a simple script post compilation.