configure: switch from -std=gnu99 to -std=gnu11
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Mon, 25 May 2026 08:48:55 -0400
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 44e8d8226a92cb1c20e605dd73e15c8fcc4ad00f Author: mojyack <[email protected]> Date: Mon Apr 20 12:37:05 2026 +0900 configure: switch from -std=gnu99 to -std=gnu11 which is required for u"" unicode string literals used in the USB stack. gcc allows this even in gnu99, but clang does not. Change-Id: I1700fe503f20f31ba4704f8bef1ccca45f822620 diff --git a/tools/configure b/tools/configure index 800013ee25..a0a647bee2 100755 --- a/tools/configure +++ b/tools/configure @@ -8,7 +8,7 @@ # # global CC options for all platforms -CCOPTS="-W -Wall -Wextra -Wundef -Os -nostdlib -ffreestanding -Wstrict-prototypes -pipe -std=gnu99 -funit-at-a-time -fno-delete-null-pointer-checks -fno-strict-overflow -fno-common" +CCOPTS="-W -Wall -Wextra -Wundef -Os -nostdlib -ffreestanding -Wstrict-prototypes -pipe -std=gnu11 -funit-at-a-time -fno-delete-null-pointer-checks -fno-strict-overflow -fno-common" # LD options for the core LDOPTS="" -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs