Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error compiling on raspberry pi 3 with archlinux arm #3

Closed
lochbika opened this issue Jun 25, 2017 · 2 comments
Closed

error compiling on raspberry pi 3 with archlinux arm #3

lochbika opened this issue Jun 25, 2017 · 2 comments

Comments

@lochbika
Copy link

Hi there,

I tried to compile it on a raspberry pi (https://aur.archlinux.org/packages/eventlircd). I modified the arch line in the PKGBUILD to armv7h for that. Nevertheless, I get the following error

make[2]: Verzeichnis „/home/alarm/eventlircd/src/eventlircd/src“ wird betreten
gcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2   -DLIRCD_SOCKET=\"/run/lirc/lircd\" -DEVMAP_DIR=\"/etc/eventlircd.d\" -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -flto -fvisibility=hidden -Werror -Wall -Wextra -Wcast-qual -Wfloat-equal -Wformat=2 -Winit-self -Wmissing-include-dirs  -Wstrict-overflow=5 -Wundef -c -o eventlircd-main.o `test -f 'main.c' || echo './'`main.c
main.c: In Funktion »main«:
main.c:100:20: Fehler: diese Anweisung könnte durchfallen [-Werror=implicit-fallthrough=]
                 if (verbose < 3)
                    ^
main.c:108:13: Anmerkung: hier
             case 'f':
             ^~~~
cc1: Alle Warnungen werden als Fehler behandelt

How could I best tackle this?
Cheers

@InuSasha
Copy link

see #2
is semantic check in gcc7

@lochbika
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants