Task #1936

Updated by Zbigniew Rebacz over 1 year ago

You can find that GCC version on Manjaro linux ;)

Here is the warning generated by regular clean build on that distribution - the build method is stock method:
<pre> [code]
/home/klugier/upp/uppsrc/Core/Other.h (133): warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
/home/klugier/upp/uppsrc/Core/Other.h (133): warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
/home/klugier/upp/uppsrc/Core/Other.h (133): warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
/home/klugier/upp/uppsrc/CtrlLib/Text.cpp (417): warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (232): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::TextCtrl::Ln’ with no trivial copy-assignment; use copy-assignment or copy-initializa
tion instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (232): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class Upp::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization in
stead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (232): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class Upp::Value’ with no trivial copy-assignment; use copy-assignment or copy-initialization ins
tead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (232): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::ArrayCtrl::Line’ with no trivial copy-assignment [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (232): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class Upp::Vector<Upp::ArrayCtrl::CellInfo>’ with no trivial copy-assignment [-Wclass-memacc
ess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (275): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::TextCtrl::Ln’ with no trivial copy-assignment; use copy-assignment or copy-initializati
on instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (276): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::TextCtrl::Ln’ with no trivial copy-assignment; use copy-assignment or copy-initializati
on instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (282): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::TextCtrl::Ln’ with no trivial copy-assignment; use copy-assignment or copy-initializa
tion instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (275): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Upp::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization inst
ead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (276): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Upp::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization inst
ead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (282): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class Upp::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization in
stead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (275): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::ArrayCtrl::Line’ with no trivial copy-assignment [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (276): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::ArrayCtrl::Line’ with no trivial copy-assignment [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (282): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::ArrayCtrl::Line’ with no trivial copy-assignment [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (275): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Upp::Vector<Upp::ArrayCtrl::CellInfo>’ with no trivial copy-assignment [-Wclass-memacces
s]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (276): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Upp::Vector<Upp::ArrayCtrl::CellInfo>’ with no trivial copy-assignment [-Wclass-memacces
s]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (282): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class Upp::Vector<Upp::ArrayCtrl::CellInfo>’ with no trivial copy-assignment [-Wclass-memacc
ess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (275): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Upp::Value’ with no trivial copy-assignment; use copy-assignment or copy-initialization inste
ad [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (276): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Upp::Value’ with no trivial copy-assignment; use copy-assignment or copy-initialization inste
ad [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (282): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class Upp::Value’ with no trivial copy-assignment; use copy-assignment or copy-initialization ins
tead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Other.h (133): warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
/home/klugier/upp/uppsrc/RichText/EncodeHTML.cpp (352): warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]
/home/klugier/upp/uppsrc/RichText/EncodeHTML.cpp (355): warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (232): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::RichTxt::Part’ with no trivial copy-assignment [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (275): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::RichTxt::Part’ with no trivial copy-assignment [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (276): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::RichTxt::Part’ with no trivial copy-assignment [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (282): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::RichTxt::Part’ with no trivial copy-assignment [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (349): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::RichTxt::Part’ with no trivial copy-assignment [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Other.h (133): warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
/home/klugier/upp/uppsrc/Draw/Uhd.cpp (92): warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (349): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct Upp::Rect_<int>’; use copy-assignment or copy-initialization instead
[-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (275): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct Upp::Rect_<int>’; use copy-assignment or copy-initialization instead
[-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (276): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct Upp::Rect_<int>’; use copy-assignment or copy-initialization instead
[-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (282): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct Upp::Rect_<int>’; use copy-assignment or copy-initialization instea
d [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Other.h (133): warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
/home/klugier/upp/uppsrc/CtrlCore/GtkX11Util.cpp (47): warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
/home/klugier/upp/uppsrc/CtrlCore/GtkEvent.cpp (538): warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (232): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::Ctrl::Win’ with no trivial copy-assignment; use copy-assignment or copy-initializatio
n instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (232): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class Upp::Ptr<Upp::Ctrl>’ with no trivial copy-assignment; use copy-assignment or copy-initial
ization instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (232): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::TextCtrl::Ln’ with no trivial copy-assignment; use copy-assignment or copy-initializa
tion instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (275): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::TextCtrl::Ln’ with no trivial copy-assignment; use copy-assignment or copy-initializati
on instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (276): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::TextCtrl::Ln’ with no trivial copy-assignment; use copy-assignment or copy-initializati
on instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (282): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::TextCtrl::Ln’ with no trivial copy-assignment; use copy-assignment or copy-initializa
tion instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (630): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::Ctrl::GEvent’ with no trivial copy-assignment; use copy-assignment or copy-initializati
on instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (632): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::Ctrl::GEvent’ with no trivial copy-assignment; use copy-assignment or copy-initializati
on instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (633): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::Ctrl::GEvent’ with no trivial copy-assignment; use copy-assignment or copy-initializati
on instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Other.h (133): warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (232): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class Upp::WString’ with no trivial copy-assignment; use copy-assignment or copy-initialization i
nstead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (232): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class Upp::Value’ with no trivial copy-assignment; use copy-assignment or copy-initialization ins
tead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (275): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Upp::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization inst
ead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (276): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Upp::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization inst
ead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (282): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class Upp::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization in
stead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (275): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Upp::Value’ with no trivial copy-assignment; use copy-assignment or copy-initialization inste
ad [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (276): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Upp::Value’ with no trivial copy-assignment; use copy-assignment or copy-initialization inste
ad [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (282): warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of type ‘class Upp::Value’ with no trivial copy-assignment; use copy-assignment or copy-initialization ins
tead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (630): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Upp::Function<void()>’ with no trivial copy-assignment; use copy-assignment or copy-initial
ization instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (632): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Upp::Function<void()>’ with no trivial copy-assignment; use copy-assignment or copy-initial
ization instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (633): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Upp::Function<void()>’ with no trivial copy-assignment; use copy-assignment or copy-initial
ization instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (630): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::WebSocket::Input’ with no trivial copy-assignment; use copy-assignment or copy-initi
alization instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (632): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::WebSocket::Input’ with no trivial copy-assignment; use copy-assignment or copy-initi
alization instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (633): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct Upp::WebSocket::Input’ with no trivial copy-assignment; use copy-assignment or copy-initi
alization instead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Core.h (347): In file included from /home/klugier/upp/uppsrc/Core/Core.h:347,
/home/klugier/upp/uppsrc/Core/Cpu.cpp (1): from /home/klugier/upp/uppsrc/Core/Cpu.cpp:1,
/home/klugier/out/examples/Core/GCC.Debug.Debug_Full.Gui.Mt.Shared/$blitz.cpp (3): from /home/klugier/out/examples/Core/GCC.Debug.Debug_Full.Gui.Mt.Shared/$blitz.cpp:3:
/home/klugier/upp/uppsrc/Core/Core.h (351): In file included from /home/klugier/upp/uppsrc/Core/Core.h:351,
/home/klugier/upp/uppsrc/Core/Cpu.cpp (1): from /home/klugier/upp/uppsrc/Core/Cpu.cpp:1,
/home/klugier/out/examples/Core/GCC.Debug.Debug_Full.Gui.Mt.Shared/$blitz.cpp (3): from /home/klugier/out/examples/Core/GCC.Debug.Debug_Full.Gui.Mt.Shared/$blitz.cpp:3:
(): memcpy(newvector + alloc - start, vector, (end - alloc) * sizeof(T));
/home/klugier/upp/uppsrc/Core/Inet.h (621): note: ‘struct Upp::WebSocket::Input’ declared here
(): struct Input : Moveable<Input> {
(): /home/klugier/upp/uppsrc/Core/Vcont.hpp: In instantiation of ‘void Upp::BiVector<T>::ReAlloc(int) [with T = Upp::String]’:
/home/klugier/upp/uppsrc/Core/Vcont.hpp (670): required from ‘void Upp::BiVector<T>::Add0() [with T = Upp::String]’
/home/klugier/upp/uppsrc/Core/BiCont.h (16): required from ‘T* Upp::BiVector<T>::AddTail0() [with T = Upp::String]’
/home/klugier/upp/uppsrc/Core/BiCont.h (31): required from ‘void Upp::BiVector<T>::AddTail(const T&) [with T = Upp::String]’
/home/klugier/upp/uppsrc/Core/WebSocket.cpp (425): required from here
/home/klugier/upp/uppsrc/Core/Vcont.hpp (630): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Upp::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization inst
ead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (632): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Upp::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization inst
ead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Vcont.hpp (633): warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class Upp::String’ with no trivial copy-assignment; use copy-assignment or copy-initialization inst
ead [-Wclass-memaccess]
/home/klugier/upp/uppsrc/Core/Other.h (133): warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]

[/code]

</pre>

Back