This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Holger Freyther gerrit-no-reply at lists.osmocom.orgPatch Set 2: Compile a test? #include <stdio.h> void bar(char *abc) { } int main(int argc, char **argv) { char foo[3]; printf("%p %p %p\n", foo, &foo, &foo[0]); bar(foo); bar(&foo); bar(&foo[0]); } ptr.c:13:6: warning: incompatible pointer types passing 'char (*)[3]' to parameter of type 'char *' [-Wincompatible-pointer-types] bar(&foo); ^~~~ ptr.c:3:16: note: passing argument to parameter 'abc' here void bar(char *abc) { ^ 1 warning generated. -- To view, visit https://gerrit.osmocom.org/4395 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I6932a29c7899d36bcc275f05dda9670b0e69bef0 Gerrit-PatchSet: 2 Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Owner: Max <msuraev at sysmocom.de> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Holger Freyther <holger at freyther.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max <msuraev at sysmocom.de> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de> Gerrit-HasComments: No