Thursday, November 1, 2012

How to avoid PUBLIC warnings

This brief tip is inspired by a thread at the harbour-Users forum

Giovanni Di Maria :

How can I avoid the warnings of PUBLIC variables, compiling with -w3 flag?

Solutions
1. Maurizo la Cecilia : just add -a to your compiler flags

2. Qatan :
For me the right thing to do is to use your public variables this way: M->PulicVariable := “value”
That way you are going to “avoid” warnings

3. Viktor :
Try hbmk2 --harbourhelp

No comments:

Post a Comment