Other Parts Discussed in Thread: CCSTUDIO, CC1354P10
Tool/software:
Hi
We're trying to build a C++ project with tiarmclang-4.0.2. The build fails with undeclared identifiers in the compiler headers:In file included from /home/marco/ti/ti-cgt-armllvm_4.0.2.LTS/include/c++/v1/functional:526:
In file included from /home/marco/ti/ti-cgt-armllvm_4.0.2.LTS/include/c++/v1/__functional/boyer_moore_searcher.h:27:
In file included from /home/marco/ti/ti-cgt-armllvm_4.0.2.LTS/include/c++/v1/vector:325:
In file included from /home/marco/ti/ti-cgt-armllvm_4.0.2.LTS/include/c++/v1/__format/formatter_bool.h:20:
In file included from /home/marco/ti/ti-cgt-armllvm_4.0.2.LTS/include/c++/v1/__format/formatter_integral.h:13:
In file included from /home/marco/ti/ti-cgt-armllvm_4.0.2.LTS/include/c++/v1/__charconv/to_chars_integral.h:17:
In file included from /home/marco/ti/ti-cgt-armllvm_4.0.2.LTS/include/c++/v1/__charconv/to_chars_result.h:14:
/home/marco/ti/ti-cgt-armllvm_4.0.2.LTS/include/c++/v1/__system_error/errc.h:141:42: error: use of undeclared identifier 'EIDRM'
141 | identifier_removed = EIDRM,
| ^
/home/marco/ti/ti-cgt-armllvm_4.0.2.LTS/include/c++/v1/__system_error/errc.h:155:42: error: use of undeclared identifier 'ENOLINK'
155 | no_link = ENOLINK,
| ^
/home/marco/ti/ti-cgt-armllvm_4.0.2.LTS/include/c++/v1/__system_error/errc.h:160:28: error: use of undeclared identifier 'ENOMSG'
160 | no_message_available = ENOMSG,
| ^
/home/marco/ti/ti-cgt-armllvm_4.0.2.LTS/include/c++/v1/__system_error/errc.h:162:26: error: use of undeclared identifier 'ENOMSG'
162 | no_message = ENOMSG,
| ^
/home/marco/ti/ti-cgt-armllvm_4.0.2.LTS/include/c++/v1/__system_error/errc.h:189:38: error: use of undeclared identifier 'EOWNERDEAD'
189 | owner_dead = EOWNERDEAD,
| ^
/home/marco/ti/ti-cgt-armllvm_4.0.2.LTS/include/c++/v1/__system_error/errc.h:197:38: error: use of undeclared identifier 'ENOTRECOVERABLE'
197 | state_not_recoverable = ENOTRECOVERABLE,
| ^
/home/marco/ti/ti-cgt-armllvm_4.0.2.LTS/include/c++/v1/__system_error/errc.h:203:37: error: use of undeclared identifier 'ETXTBSY'
203 | text_file_busy = ETXTBSY,
| ^
/home/marco/ti/ti-cgt-armllvm_4.0.2.LTS/include/c++/v1/__system_error/errc.h:208:37: error: use of undeclared identifier 'ELOOP'
208 | too_many_symbolic_link_levels = ELOOP,
| ^
This can be replicated by simply including <functional> in any cpp file.
Looking at the related issue and the compilers I have at hand this seems to be the case:
- v2.1.2 - broken
- v3.2.2 - works
- v4.0.2 - broken