Adding -Werror compilation flag 28/50528/2
authorJanusz Majnert <j.majnert@samsung.com>
Thu, 29 Oct 2015 11:04:38 +0000 (12:04 +0100)
committerJanusz Majnert <j.majnert@samsung.com>
Thu, 29 Oct 2015 11:25:12 +0000 (12:25 +0100)
commitce547e5980d5c8a82a4c5b82e4dc03b702f02654
tree10448a72f9bed68f2964de1de785bd62bd3d5bc2
parent1712964eb6a7ecc6f60c6a2af69b8de1024ca641
Adding -Werror compilation flag

[Issue#]   N/A
[Problem]  Compilation warnings being ignored by developers
[Cause]    Too much compiler output
[Solution] Adding a -Werror compilation flag so that warnings are treated as
           errors
[Verify]   Check that the project builds without warnings

Compilation warnings should not be ignored. They often warn about things that
may cause trouble if unattended. Too much warnings also pollutes the compiler
output making it illegible.
Adding this compilation flag will allow us to maintain the quality of our code.

Note: This commit also fixes one warning in WebKitEngineService.cpp
(initialization list reordering).

Change-Id: If30512b534268d5857ec08e47935bd5e19eef980
CMakeLists.txt
services/WebKitEngineService/WebKitEngineService.cpp