mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 06:16:04 +01:00
mcpp: Stick to C17
* Fix build error with gcc-15 by renaming goto labels see more details: http://errors.yoctoproject.org/Errors/Details/850149/ ../../mcpp-2.7.2/src/system.c:3436:15: error: expected identifier or '*' before 'true' true, false are reserved keywords in gcc-15 Rename goto 'labels' from 'ture' to 'true_label', from 'false' 'false_label' to avoid conflicts. Signed-off-by: mark.yang <mark.yang@lge.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
713d35adce
commit
e2c8a25c1b
|
|
@ -21,3 +21,7 @@ BBCLASSEXTEND = "native nativesdk"
|
|||
# http://errors.yoctoproject.org/Errors/Details/766883/
|
||||
# mcpp-2.7.2/src/expand.c:713:21: error: assignment to 'char *' from incompatible pointer type 'LOCATION *' {aka 'struct location *'} [-Wincompatible-pointer-types]
|
||||
CFLAGS += "-Wno-error=incompatible-pointer-types"
|
||||
|
||||
# http://errors.yoctoproject.org/Errors/Details/850149/
|
||||
# ../../mcpp-2.7.2/src/system.c:3436:15: error: expected identifier or '*' before 'true'
|
||||
CFLAGS += "-std=gnu17"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user