Proposal to reduce warnings in 5.2.0
As we designed the API we made many other lower-level functions accept the GMT control pointer as first argument, in case needed. Well, the API is defined now and lots of other lower-level functions that take GMT do not use it, resulting in annoying warnings whose sheer volume covers up more important warnings. I suggest in 5.2 we start removing these unneeded arguments; should we add features that requires them we add them back - they are not part of the API anyway, and if the API needs to grow they take void *API instead. Of course, many functions require that we pass GMT even though not used by all (specially those passed via function pointers since all those have to have the same number of args). This should reduce the level of warnings when compiling.
RE: Proposal to reduce warnings in 5.2.0 - Added by Paul over 3 years ago
Solved by using the attribute ((unused)) for GNU compilers.