Hi Marcel,

>> Do not add warning flag if corresponding or opposite option is already
>> in CFLAGS.
>
> what is this fixing actually? The maintainer mode should only be enabled
> during development and not for packaging.

Among other things it is fixing -Wcast-align on ARM compiler (gcc
4.3.3 armv7) that I use to develop with N900. With -Wcast-align the
compiler issues a spurious alignment warning on dhcp_get_unaligned()
and dhcp_put_unaligned(). That is because there is a (uint32_t *) cast
in the middle (from char * to uint32_t to packed struct).

-- 
Pekka.Pessi mail at nokia.com
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to