Closed aasthagr closed 5 years ago
*** CID 203622: Parse warnings (PARSE_ERROR)
/opt/zephyr-sdk-0.10.3/nios2-zephyr-elf/nios2-zephyr-elf/include/c++/8.3.0/bits/refwrap.h: 104 in ()
98 _GLIBCXX_MEM_FN_TRAITS(&, true_type, false_type)
99 _GLIBCXX_MEM_FN_TRAITS(&&, false_type, true_type)
100
101 #if __cplusplus > 201402L
102 _GLIBCXX_MEM_FN_TRAITS(noexcept, true_type, true_type)
103 _GLIBCXX_MEM_FN_TRAITS(& noexcept, true_type, false_type)
>>> CID 203622: Parse warnings (PARSE_ERROR)
>>> class template "std::_Mem_fn_traits" has already been defined
104 _GLIBCXX_MEM_FN_TRAITS(&& noexcept, false_type, true_type)
105 #endif
106
107 #undef _GLIBCXX_MEM_FN_TRAITS
108 #undef _GLIBCXX_MEM_FN_TRAITS2
109
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: 203622 Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996