Khem Raj 6b1ec1fc3b thermald: Fix build with clang 23
configure.ac appends -Werror on top of -Wall unless --disable-werror is
passed, so every warning a newer compiler learns turns into a hard build
failure.

clang 23 added -Wunused-but-set-global and enabled it under -Wall. It
fires on the "static gpointer <t_n>_parent_class = NULL" that glib's
G_DEFINE_TYPE() emits, which is assigned in the generated class_intern_init
but never read unless the type chains up to a parent vfunc. PrefObject in
thd_dbus_interface.cpp never does:

  src/thd_dbus_interface.cpp:48:1: error: variable 'pref_object_parent_class'
      set but not used [-Werror,-Wunused-but-set-global]
     48 | G_DEFINE_TYPE(PrefObject, pref_object, G_TYPE_OBJECT)

Pass --disable-werror, the escape hatch upstream added for exactly this,
rather than suppressing the individual warning - gcc does not know
-Wno-unused-but-set-global. OE's own -Werror=format-security is unaffected.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-05 09:06:42 -07:00
2026-06-23 00:45:59 -07:00
2026-09-05 09:06:42 -07:00
2025-04-10 08:31:06 -07:00
2026-03-02 19:25:48 -08:00

Collection of layers for the OE-core universe

Main layer maintainer: Khem Raj raj.khem@gmail.com

This repository is a collection of layers to supplement OE-Core with additional packages, Each layer have designated maintainer Please see the respective READMEs in the layer subdirectories

S
Description
No description provided
Readme
127 MiB
Languages
BitBake 85.1%
Shell 5.6%
NASL 3.4%
C 2.6%
Roff 1.8%
Other 1.3%