This bug was found by Michael Edmonds and he submitted a patch via Patch #3307724 at https://sourceforge.net/tracker/?func=detail&aid=3307724&group_id=33142&atid=407383.
g++ is hard coded in several places in the file instead of using the CC_CC variable.
With the patch, If you override CC_CC, it will use that in the other places now instead having to change it everywhere.
We use this when we specify a specific g++ version.
The patch also removed trailing whitespace.
Diff of changes
This bug fix will be part of the next release of STAF, V3.4.7, planned for the end of September 2011.