I applied the g++ 4.6 unused variables patch by Andril, I applied it by hand. My code is not stock, its a swr1.0 derivative that compiles with gcc as opposed to g++. My idea is to make the code g++ compatible in baby steps.
On the mac, using gcc version 4.2 I noticed IO errors sent to the logger, 'fMatch [not found]'. This is in relation to the <code>#define KEY( literal, field, value )</code> macro. What makes sense given my skill level in programming is to begin the c++ conversion in a year or two. I have yet to apply const correctness to the source code. I recall Kavir posted a diff file in the SmaugMuds or MB forums some time ago but I've lost the link.
As I peruse the GCC 4.7.2 reference manual the paragraph from 10.1 Introduction to gcov holds my interest.
If you use complicated macros that expand to loops or to other control structures, the statistics are less helpful—they only report on the line where the macro call appears. If your complex macros behave like functions, you can replace them with inline functions to solve this problem.
In the C programming language is a inline function a practical replacement of the Key macro?