Closed aasthagr closed 5 years ago
*** CID 203620: Parse warnings (PARSE_ERROR)
/opt/zephyr-sdk-0.10.3/nios2-zephyr-elf/nios2-zephyr-elf/include/c++/8.3.0/bits/refwrap.h: 102 in ()
96
97 _GLIBCXX_MEM_FN_TRAITS( , true_type, true_type)
98 _GLIBCXX_MEM_FN_TRAITS(&, true_type, false_type)
99 _GLIBCXX_MEM_FN_TRAITS(&&, false_type, true_type)
100
101 #if __cplusplus > 201402L
>>> CID 203620: Parse warnings (PARSE_ERROR)
>>> class template "std::_Mem_fn_traits" has already been defined
102 _GLIBCXX_MEM_FN_TRAITS(noexcept, true_type, true_type)
103 _GLIBCXX_MEM_FN_TRAITS(& noexcept, true_type, false_type)
104 _GLIBCXX_MEM_FN_TRAITS(&& noexcept, false_type, true_type)
105 #endif
106
107 #undef _GLIBCXX_MEM_FN_TRAITS
Not dealing with issues from SDK / toolchain headers.
Static code scan issues seen in File: /opt/zephyr-sdk-0.10.3/nios2-zephyr-elf/nios2-zephyr-elf/include/c++/8.3.0/bits/refwrap.h Category: Parse warnings Function: Component: Other CID: 203620 Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996