genode/repos/base/include
Norman Feske e143084b04 base: fix warning in RPC framework
The recent change of the TRACE session interface triggered the
following warning:

/home/no/src/genode/repos/base/include/base/ipc.h:79:4: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    *reinterpret_cast<T *>(&_sndbuf[_write_offset]) = value;
    ^
In file included from /home/no/src/genode/repos/base/src/core/include/trace/session_component.h:19:0,
                 from /home/no/src/genode/repos/base/src/core/trace_session_component.cc:15:
/home/no/src/genode/repos/base/include/base/rpc_server.h:132:42: note: ‘ret’ was declared here
     typename This_rpc_function::Ret_type ret;

The warning occurs for basic return types (like size_t), which are
indeed not initialized. The variable gets its value assigned by the
corresponding 'call_member' overload, to which the variable is passed as
reference. But the compiler apparently is not able to detect this assignment.

Declaring 'ret' with a C++11-style default initializer fixes the warning.
2015-06-22 14:43:40 +02:00
..
32bit/base Revised API documentation 2015-04-09 16:04:46 +02:00
64bit/base Revised API documentation 2015-04-09 16:04:46 +02:00
arm base,os: Coding-style unification 2015-03-13 12:17:23 +01:00
arm_v5/cpu base: memory barriers in lock implementations 2014-11-28 12:02:34 +01:00
arm_v6/cpu base: memory barriers in lock implementations 2014-11-28 12:02:34 +01:00
arm_v7/cpu base: memory barriers in lock implementations 2014-11-28 12:02:34 +01:00
base base: fix warning in RPC framework 2015-06-22 14:43:40 +02:00
cap_session base: make CAP session upgradeable 2015-05-26 09:40:02 +02:00
cpu base,os: Coding-style unification 2015-03-13 12:17:23 +01:00
cpu_session base: enforce ram_quota donations to be consistent 2015-05-26 09:40:03 +02:00
dataspace base,os: Coding-style unification 2015-03-13 12:17:23 +01:00
drivers base,os: Coding-style unification 2015-03-13 12:17:23 +01:00
io_mem_session base,os: Coding-style unification 2015-03-13 12:17:23 +01:00
io_port_session Revised API documentation 2015-04-09 16:04:46 +02:00
irq_session base: extend irq session to support MSIs 2015-05-20 17:39:14 +02:00
log_session base,os: Coding-style unification 2015-03-13 12:17:23 +01:00
pager Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
parent Revised API documentation 2015-04-09 16:04:46 +02:00
pd_session base: enforce ram_quota donations to be consistent 2015-05-26 09:40:03 +02:00
platform hw: support Wandboard Quad (i.MX6) 2015-04-09 16:04:43 +02:00
platform_exynos5 base,os: Coding-style unification 2015-03-13 12:17:23 +01:00
ram_session base: enforce ram_quota donations to be consistent 2015-05-26 09:40:03 +02:00
rm_session base: enforce ram_quota donations to be consistent 2015-05-26 09:40:03 +02:00
rom_session Revised API documentation 2015-04-09 16:04:46 +02:00
root Minor comment refinements for the manual 2015-05-26 09:39:50 +02:00
session Revised API documentation 2015-04-09 16:04:46 +02:00
signal_session Revised API documentation 2015-04-09 16:04:46 +02:00
thread Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
trace_session core: throw Trace::Out_of_metadata in subjects() 2015-06-22 14:43:39 +02:00
util base: move retry template function to util header 2015-05-26 09:40:03 +02:00
x86/cpu Revised API documentation 2015-04-09 16:04:46 +02:00
x86_32/cpu base,os: Coding-style unification 2015-03-13 12:17:23 +01:00
x86_64/cpu base: Add #UD exception to x86_64 Cpu_state 2015-05-20 17:52:59 +02:00
README Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00

This directory contains include files of interfaces that are exported
by components to be used by other components. Each subdirectory corresponds
to the component exporting the interface.