Fix warnings

Clang 3.4 with -Wall -Wextra

Change-Id: Ic7777cf5ba606ad827f954648852b435d6c7d2f5
Reviewed-on: http://gerrit.aldebaran.lan/49240
Tested-by: gerrit
Reviewed-by: pdaouadi <pdaouadi@aldebaran-robotics.com>
Tested-by: pdaouadi <pdaouadi@aldebaran-robotics.com>
Fix pedantic warning on macro

Change-Id: Ibea8e9cc63fe7ac62bb6026d6537ff978306d965
Reviewed-on: http://gerrit.aldebaran.lan/49269
Reviewed-by: pdaouadi <pdaouadi@aldebaran-robotics.com>
Tested-by: pdaouadi <pdaouadi@aldebaran-robotics.com>
AnyFunction: fix error printing

Change-Id: I59291a22dbc2a8f02c52f3bb57d5edc318fad171
Reviewed-on: http://gerrit.aldebaran.lan/49242
Tested-by: gerrit
Reviewed-by: pdaouadi <pdaouadi@aldebaran-robotics.com>
Tested-by: pdaouadi <pdaouadi@aldebaran-robotics.com>
ObjectBuilder: add macros to advertise manually

Change-Id: I1b52c05ec1182678676a7afcd8c77c6e1ed7579a
Reviewed-on: http://gerrit.aldebaran.lan/47875
Reviewed-by: pdaouadi <pdaouadi@aldebaran-robotics.com>
Tested-by: pdaouadi <pdaouadi@aldebaran-robotics.com>
Fix possible infinite loop in transportsocketcache

Fix wrong sorting predicates that could have caused infinite loops when sorting
a service's endpoints.

Change-Id: Ie8cc0c7ad8a0a05bd7f84d03b33d3bc3fdd8ce10
Reviewed-on: http://gerrit.aldebaran.lan/49200
Reviewed-by: tfontenay <tfontenay@aldebaran-robotics.com>
Tested-by: gerrit
Reviewed-by: pdaouadi <pdaouadi@aldebaran-robotics.com>