source-highlight-3.1.4-3.fc15.x86_64, via src-hilite-lesspipe.sh, doesn't recognize foo.cxx files as C++ sources. /usr/share/source-highlight/lang.map needs an entry of the form "cxx = cpp.lang".
Thanks for the report. Fixed in source-highlight-3.1.6-1.fc18