Skip to content

Instantly share code, notes, and snippets.

@YellowOnion
Created April 24, 2024 08:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YellowOnion/f5fb58d270981cd82014aebea8795e2f to your computer and use it in GitHub Desktop.
Save YellowOnion/f5fb58d270981cd82014aebea8795e2f to your computer and use it in GitHub Desktop.
cc1: all warnings being treated as errors
[25/241] Compiling C object libwlroots.so.1...rotocol_text-input-unstable-v3-protocol.c.o
FAILED: libwlroots.so.12.p/meson-generated_.._protocol_text-input-unstable-v3-protocol.c.o
gcc -Ilibwlroots.so.12.p -I. -I.. -Iinclude -I../include -Iprotocol -Irender/gles2/shaders -Irender/vulkan/shaders -Ibackend/drm -I/nix/store/80w55fw51p8qf0bx9ly6sil4n25fppwq-wayland-1.22.0-dev/include -I/nix/store/njw23bh48h17f4mxb1zywv1gn89brz6r-libdrm-2.4.120-dev/include -I/nix/store/njw23bh48h17f4mxb1zywv1gn89brz6r-libdrm-2.4.120-dev/include/libdrm -I/nix/store/pvj554bgy94y9j29b5xl8l4sw239vqkx-libxkbcommon-1.5.0-dev/include -I/nix/store/73lsxaii5sk9zgm7g53mca4a65a9i5xh-pixman-0.43.4/include/pixman-1 -I/nix/store/w39vmhs53w6ai3ybiv1yzsvrsriyx9mq-libglvnd-1.7.0-dev/include -I/nix/store/jhxwa57l6cvs6xp0yl7yhr4ryp05v61z-mesa-24.0.3-dev/include -I/nix/store/3a5xx9s04kk1x3xm7qkaxnszlczl6fnp-vulkan-headers-1.3.280.0/include -I/nix/store/gjw9820iv7cvvwj4ikydni8v3khyvwp9-systemd-minimal-libs-255.4-dev/include -I/nix/store/52a1r1cz4yyfrfqq6vp0akw007blqm0b-seatd-0.8.0-dev/include -I/nix/store/4hi29kpzkh8z9xlpmjyj2gyxq6rrvjyl-libdisplay-info-0.1.1/include -I/nix/store/a97nfzxqg4asy5dkj5k15ar12xb1n5f2-libliftoff-0.4.1/include -I/nix/store/y67kajpaf97m02fjdfsl2319va836wsv-libinput-1.25.0-dev/include -I/nix/store/7rx4yhjj886kvhzwrg9qggvjxax5q12y-libxcb-1.16-dev/include -I/nix/store/cm07h58lr8hmk0k4fwqdxrmjl0wrnni7-xcb-util-renderutil-0.3.10-dev/include -I/nix/store/j90b9l3f974yqjf5a428g1j37dha0p4z-xcb-util-wm-0.4.2-dev/include -I/nix/store/21b4ari0xyjgig2amqkgdzrihjvq45zx-xcb-util-errors-1.0.1-dev/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O0 -g -DWLR_USE_UNSTABLE -DWLR_LITTLE_ENDIAN=1 -DWLR_BIG_ENDIAN=0 -Wundef -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wstrict-prototypes -Wimplicit-fallthrough=2 -Wendif-labels -Wstrict-aliasing=2 -Woverflow -Wmissing-prototypes -Walloca -Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter -fmacro-prefix-map=../= -fPIC -MD -MQ libwlroots.so.12.p/meson-generated_.._protocol_text-input-unstable-v3-protocol.c.o -MF libwlroots.so.12.p/meson-generated_.._protocol_text-input-unstable-v3-protocol.c.o.d -o libwlroots.so.12.p/meson-generated_.._protocol_text-input-unstable-v3-protocol.c.o -c protocol/text-input-unstable-v3-protocol.c
In file included from /nix/store/gzxqm8dyfirbysqjhh78ivam62ll0m87-glibc-2.39-5-dev/include/bits/libc-header-start.h:33,
from /nix/store/gzxqm8dyfirbysqjhh78ivam62ll0m87-glibc-2.39-5-dev/include/stdlib.h:26,
from protocol/text-input-unstable-v3-protocol.c:31:
/nix/store/gzxqm8dyfirbysqjhh78ivam62ll0m87-glibc-2.39-5-dev/include/features.h:414:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
| ^~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment