Can I disable warning message during compilation

In reply to tech_savvy:

If you do not show the warning it is impossible to give you an advice.
But you should consider any warning.