Newbie question about compiler warnings.
Are we allowed to disable compiler warnings? What is the preferred
method, if the code is fine, and would require a huge overhaul to fix?
Specifically, I am thinking of trigraphs. If you know what they are,
you probably know exactly how I feel. If you don't, they are a seldom
used feature, and disabled by g++. However, they are part of the latest
c++ ansi standard, so g++ will warn you if it "looks like" you "may
have" intended to use them, by warning about them being disabled. More
often than not, this warning can be ignored.
The code for the package that I am maintaining, xevil, uses xpm files,
which, by design, are likely to give off the trigraph warning. Is it
acceptable to disable these warnings? If so, should I disable them in
Makefile, or debian/rules?