From 8d26222de71014554999e48c821906fca0e3dc41 Mon Sep 17 00:00:00 2001 From: "Alejandro R. Mosteo" Date: Thu, 30 Mar 2023 18:49:47 +0200 Subject: [PATCH] Actually supply -gnatW8 in the project file --- config/clic_config.gpr | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config/clic_config.gpr b/config/clic_config.gpr index dfb651d..e52c400 100644 --- a/config/clic_config.gpr +++ b/config/clic_config.gpr @@ -15,10 +15,11 @@ abstract project Clic_Config is Ada_Compiler_Switches := External_As_List ("ADAFLAGS", " "); Ada_Compiler_Switches := Ada_Compiler_Switches & ( - "-O3" -- Optimize for performance - ,"-gnatn" -- Enable inlining + "-O3" -- Optimize for performance + ,"-gnatn" -- Enable inlining ,"-ffunction-sections" -- Separate ELF section for each function - ,"-fdata-sections" -- Separate ELF section for each variable + ,"-fdata-sections" -- Separate ELF section for each variable + ,"-gnatW8" -- use UTF-8 Encoding for Source Files ); type Build_Profile_Kind is ("release", "validation", "development");