mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
c30299feca
This patch enables the warnings -Wextra, -Weffc++, and -Werror for compiling Genode components. It thereby helps us to detect bugs like uninitialized member variables or missing virtual destructors at compile time. The warning level is defined via the new 'CC_CXX_WARN_STRICT' variable. For targets that compile 3rd-party code where this warning level is not applicable, the variable may be explictly set to an empty value in the corresponding build-description file. Issue #465 |
||
---|---|---|
.. | ||
spec | ||
base-libs.mk | ||
dep_lib.mk | ||
dep_prg.mk | ||
generic.mk | ||
global.mk | ||
lib.mk | ||
prg.mk | ||
README | ||
util.inc |
This directory contains the build system. In consists mainly of makefile templates for different directory roles. :'global.mk': This file contains global variables, for example the definitions of the tools to use. :'generic.mk': Generic rules for creating file types from others. :'prg.mk': This file represents the target binary role of a directory. It must be included by all makefiles that build programs. :'lib.mk': This file represents a library role. It is never used from within the 'src/' directory but only from the <libname>.mk files in 'lib/mk/'.