This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI C/C++ Compiler
For some reason when compiling with the 18.1.3 compiler, I get the following errors in the log across multiple files:
"C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 637: error #918: __rebind_pointer is not a template "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 641: error #918: __rebind_pointer is not a template "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 653: error #918: pointer_traits is not a template "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 664: error #918: __rebind_pointer is not a template "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 666: error #918: __rebind_pointer is not a template "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 670: error #918: pointer_traits is not a template "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 670: error #441: expected a ">" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 670: error #284: the global scope has no "element_type" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 670: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 674: error #894: a template argument list is not allowed in a declaration of a primary template "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 709: error #918: __rebind_pointer is not a template "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 711: error #918: __tree_node_types is not a template "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 775: error #918: allocator_traits is not a template "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 778: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 778: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 778: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 780: error #918: __tree_node_types is not a template "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 780: error #20: identifier "pointer" is undefined "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 795: error #760: "pointer" is not a type name "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 810: error #918: __tree_node_types is not a template "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 812: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 812: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 812: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 813: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 813: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 813: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 814: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 814: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 814: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 815: error #918: pointer_traits is not a template "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 817: error #20: identifier "__iter_pointer" is undefined "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 824: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 824: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 824: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 834: error #20: identifier "pointer" is undefined "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 868: error #20: identifier "__end_node_pointer" is undefined "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 883: error #918: __tree_node_types is not a template "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 884: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 884: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 884: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 885: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 885: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 885: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 886: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 886: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 886: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 887: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 887: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 887: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 888: error #918: pointer_traits is not a template "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 888: error #20: identifier "__node_pointer" is undefined "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 890: error #20: identifier "__iter_pointer" is undefined "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 897: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 897: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 897: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 906: error #760: "__node_pointer" is not a type name "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 915: error #20: identifier "pointer" is undefined "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 949: error #18: expected a ")" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 948: error #774: "explicit" is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 949: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 994: error #918: allocator_traits is not a template "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 996: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 996: error #441: expected a ">" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 998: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 998: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 998: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1000: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1000: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1000: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1001: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1001: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1001: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1003: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1003: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1003: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1004: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1004: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1004: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1005: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1005: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1005: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1006: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1006: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1006: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1009: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1009: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1009: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1011: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1011: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1011: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1012: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1012: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1012: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1014: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1014: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1014: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1015: error #991: a class or namespace qualified name is required "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1015: error #283: global-scope qualifier (leading "::") is not allowed "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1015: error #66: expected a ";" "C:/ti/ccs820/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/include/libcxx/__tree", line 1017: error #991: a class or namespace qualified name is required Error limit reached. 100 errors detected in the compilation of "myfile.cpp".
In the problems panel, I get a lot of errors from the string file in libcxx folder.
To understand what is happening, I need a test case which allows me to reproduce it. For one source file that displays most of these errors, please submit a test case as described in the article How to Submit a Compiler Test Case.
Thanks and regards,
-George
I wasn't able to create a test case with a single file, and I can't provide you with the full source, of course.
However, I was able to get it to compile without changing the source code by creating a brand new project, and adding all the source files, and other misc things like the SYS/BIOS config.
I then looked over the settings to see if anything stood out, but all my settings seem to be properly copied over to the new project, and there don't seem to be any serious differences.
I'm thinking either I've missed some compiler settings, or some other ccsproj setting that's somehow screwing up the build.
I did notice that the "builder" element of the new cproject file has the following attributes defined, but I don't think that would make the difference: parallelBuildOn="true" parallelizationNumber="optimal"
Would sending the cproject files help?
Please try building the entire project with parallel builds both enabled and disabled. If that doesn't cause the problem to show up, then I'm out of ideas.
Thanks and regards,
-George
Enabling/disabling the parallel build options didn't seem to have any affect. I have no idea why the original project failed to build.