mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-29 09:45:34 +00:00
2bbed8cc06
In function ‘bool ESM::operator==(const FixedString<capacity>&, const T* const&) [with long unsigned int capacity = 5; T = char; <template-parameter-1-3> = void]’, inlined from ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = ESM::FixedString<5>; T2 = const char*]’ at /home/elsid/dev/googletest/build/gcc/release/install/include/gtest/gtest.h:1358:11, inlined from ‘static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, const T2&) [with T1 = ESM::FixedString<5>; T2 = const char*; typename std::enable_if<((! std::is_integral<_Tp>::value) || (! std::is_pointer<_Dp>::value))>::type* <anonymous> = 0]’ at /home/elsid/dev/googletest/build/gcc/release/install/include/gtest/gtest.h:1377:64, inlined from ‘virtual void {anonymous}::EsmFixedString_equality_operator_for_not_convertible_to_uint32_with_const_char_pointer_Test::TestBody()’ at apps/openmw_test_suite/esm/test_fixed_string.cpp:165:9: components/esm/esmcommon.hpp:134:19: warning: array subscript 5 is outside array bounds of ‘const char [5]’ [-Warray-bounds] 134 | return rhs[capacity] == '\0'; | ~~~^ apps/openmw_test_suite/esm/test_fixed_string.cpp: In member function ‘virtual void {anonymous}::EsmFixedString_equality_operator_for_not_convertible_to_uint32_with_const_char_pointer_Test::TestBody()’: apps/openmw_test_suite/esm/test_fixed_string.cpp:164:20: note: at offset 5 into object ‘other’ of size 5 164 | const char other[5] = { 'a', 'b', 'c', 'd', '\0' }; | ^~~~~ |
||
---|---|---|
.. | ||
bsa | ||
bullethelpers | ||
compiler | ||
config | ||
contentselector | ||
crashcatcher | ||
debug | ||
detournavigator | ||
esm | ||
esm3 | ||
esm3terrain | ||
esm4 | ||
esmloader | ||
fallback | ||
files | ||
fontloader | ||
fx | ||
interpreter | ||
l10n | ||
loadinglistener | ||
lua | ||
lua_ui | ||
misc | ||
myguiplatform | ||
navmeshtool | ||
nif | ||
nifbullet | ||
nifosg | ||
platform | ||
process | ||
resource | ||
sceneutil | ||
sdlutil | ||
serialization | ||
settings | ||
shader | ||
sqlite3 | ||
std140 | ||
stereo | ||
terrain | ||
to_utf8 | ||
translation | ||
version | ||
vfs | ||
widgets | ||
CMakeLists.txt | ||
doc.hpp | ||
windows.hpp |