* minor: example-hello warning
@ 2018-06-06 10:36 Jan Kiszka
0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2018-06-06 10:36 UTC (permalink / raw)
To: isar-users
Hi,
just noticed while waiting for a slow qemu-user build:
gcc -DHAVE_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/home/builder/example-hello/example-hello-0.2-86cc719=.
-fstack-protector-strong -Wformat -Werror=format-security -c -o hello.o
hello.c
hello.c: In function 'main':
hello.c:14:7: warning: implicit declaration of function 'strcmp'
[-Wimplicit-function-declaration]
if (strcmp(argv[argc - 1], "--help") == 0) {
^~~~~~
Missing #include <string.h> in our hello.c, I suppose.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-06 10:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-06 10:36 minor: example-hello warning Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox