fixed comestic ticket [64c6b3c4733] about compiler hints when compiling for packages