mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 07:46:42 +00:00
06ce0a8ef1
g++ 4.4.5 outputs the following warnings in our code using the loader session: .../base/include/base/capability.h: In member function 'typename Genode::Trait::Call_return<typename IF::Ret_type>::Type Genode::Capability<RPC_INTERFACE>::call() const [with IF = Loader::Session::Rpc_view_geometry, RPC_INTERFACE = Loader::Session]': .../base/include/base/capability.h:207: warning: 'ret.Genode::Capability<Loader::Session>::Return<Loader::Session::Rpc_view_geometry>::_value.Loader::Session::View_geometry::width' may be used uninitialized in this function .../base/include/base/capability.h:207: warning: 'ret.Genode::Capability<Loader::Session>::Return<Loader::Session::Rpc_view_geometry>::_value.Loader::Session::View_geometry::height' may be used uninitialized in this function .../base/include/base/capability.h:207: warning: 'ret.Genode::Capability<Loader::Session>::Return<Loader::Session::Rpc_view_geometry>::_value.Loader::Session::View_geometry::buf_x' may be used uninitialized in this function .../base/include/base/capability.h:207: warning: 'ret.Genode::Capability<Loader::Session>::Return<Loader::Session::Rpc_view_geometry>::_value.Loader::Session::View_geometry::buf_y' may be used uninitialized in this function This is easily fixed with providing a default constructor. Because of the C++ rules regarding initialer lists code that used them for View_geometry had to be modified to use a normal construction call. In my tests only Nitpicker had to be changed. |
||
---|---|---|
.. | ||
audio_out_session | ||
blit | ||
block | ||
block_session | ||
dde_kit | ||
drivers/timer | ||
file_system_session | ||
framebuffer_session | ||
gpu | ||
init | ||
input | ||
input_session | ||
ldso | ||
loader_session | ||
net | ||
nic | ||
nic_session | ||
nitpicker_gfx | ||
nitpicker_session | ||
nitpicker_view | ||
os | ||
packet_stream_rx | ||
packet_stream_tx | ||
pci_device | ||
pci_session | ||
platform | ||
terminal_session | ||
timer_session | ||
util | ||
xev_track |