I attempted to build with CCS 10.0.0.00010 (since you mention that this issue is not present in 10 anymore) but I run into build issues that I have not yet run into:
"C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_pat="C:/ti/ccs1000/xdctools_3_61_00_16_core/packages" --include_path="C:/Users/userName/git/codeCCS10/code_base/emb_code/Include" --include_path="C:/Users/userName/git/codeCCS10/code_base/emb_code" --include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --advice:performance=all --defne=_TMS320F2837xD_ --define=_CPU1_ -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="Source/System/HardwareSerial/SerialBuffer.d_raw" --obj_directory="Source/System/HardwareSerial" "../Source/System/HardwareSerial/SerialBuffer.cpp"
INTERNAL ERROR: C:\ti\ccs1000\ccs\tools\compiler\ti-cgt-c2000_20.2.0.LTS\bin\ac2000.exe experienced a segmentation fault
while processing function (unknown or file scope) file (unknown) line 0
This is caused by a defect in the TI C/C++ Parser.
TI Customer Support may be able to suggest a workaround to avoid this.