Add error 747 to -efunc
As described in http://www.gimpel.com/Discussion.cfm?ThreadID=1132 you cannot easily suppress 747 Significant Prototype Coercion message for a specific function.
I have static member function
JTime JTime::seconds(int64_t sec);
With following code:
uint32t mytime;
JTime timeNeeded;
...
timeNeeded = JTime::seconds(my_time); // <-- Error 747
I would like something like this in lint options file to work:
-efunc(747, JTime::seconds)
The -efunc option is meant to suppress messages within a particular function, the -ecall option suppresses messages within a call to a particular function. In the example you presented, the proper way to suppress message 747 is with the option -ecall(747, JTime::seconds).