[Doxygen-develop] Warning output line problems
Brought to you by:
dimitri
From: Istvan H. <ho...@gm...> - 2009-04-24 21:36:05
|
Hi All, I have two little problems with warning messages doxygen outputs. 1. In message.cpp right before the last line I'v added this little snippet // beginning of my modification if (msgText.contains("$warn-to-lower",FALSE)) { msgText = substitute(msgText, "$warn-to-lower", ""); msgText = substitute(msgText, "Warning:", "warning:"); } // end of my modification // print resulting message fprintf(warnFile,msgText); } This tiny modification added support of a new WARN_FORMAT tag $warn-to-lower. This new tag is intended to let control the case of 'warning' word in the output warning message. If presented the output will print 'warning:' instead of the original 'Warning:' text in the message. The reason is why I had to add this is that the Apple Xcode parses gcc compiler output wrongly, could not differentiate between the two cases and therefore treats Doxygen warnings as errors. Because Apple surely won't fix this I hope doxygen could do it in one of the feature releases, may be via something similar solution like mine. 2. Also there's another problem with the output in Xcode. Doxygen has some warning messages that has not the word 'warning' at all in the outputed line. Like, group "group_name": ignoring title "description" that does not match old title "old_description" The problem is the same like above, Xcode treats these lines as errors. If these are really errors than that would be nice if the 'error' word and if these are warnings than the 'warning' word would be added to the produced output lines. Thank you in advance Bests Hofi |