diff options
author | mark.yang <mark.yang@lge.com> | 2025-04-02 14:02:28 +0900 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-04-01 22:33:45 -0700 |
commit | 41723a2a7dc2b1bcfeebdae728c19be091637edc (patch) | |
tree | facfc333170218e287ec5559fbf9cbc7eb6d6b22 /meta-networking/recipes-connectivity/openthread/wpantund_git.bb | |
parent | 246072bd3e23736ab8e73474df2be336b6a303b5 (diff) | |
download | meta-openembedded-41723a2a7dc2b1bcfeebdae728c19be091637edc.tar.gz |
xmlrpc-c: fix build with gcc-15.0.1
* Fix build error with gcc-15.0.1
http://errors.yoctoproject.org/Errors/Details/850147/
srcdir/lib/util/include/bool.h:13:5: error: cannot use keyword 'false' as enumeration constant
13 | false = 0,
| ^~~~~
srcdir/lib/util/include/bool.h:13:5: note: 'false' is a keyword with '-std=c23' onwards
srcdir/lib/util/include/bool.h:15:3: error: expected ';', identifier or '(' before 'bool'
15 | } bool;
| ^~~~
srcdir/lib/util/include/bool.h:15:3: warning: useless type name in empty declaration
In file included from sleep.c:2:
srcdir/lib/util/include/bool.h:13:5: error: cannot use keyword 'false' as enumeration constant
13 | false = 0,
| ^~~~~
srcdir/lib/util/include/bool.h:13:5: note: 'false' is a keyword with '-std=c23' onwards
srcdir/lib/util/include/bool.h:15:3: error: expected ';', identifier or '(' before 'bool'
15 | } bool;
| ^~~~
gcc-15 switched to -std=c23 by default.
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212
Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/openthread/wpantund_git.bb')
0 files changed, 0 insertions, 0 deletions