From: Viljar Indus Date: Wed, 10 Jun 2026 08:37:52 +0000 (+0300) Subject: ada: Make Error_Msg_Sloc visible for gigi X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e08b7d7ceba7bd3c794fda0c5cbbdcc138d3aad3;p=thirdparty%2Fgcc.git ada: Make Error_Msg_Sloc visible for gigi This is needed to improve the error messages for -gnatw.q. gcc/ada/ChangeLog: * fe.h: Define Error_Msg_Sloc for gigi. --- diff --git a/gcc/ada/fe.h b/gcc/ada/fe.h index cb2a30ba027..398c107805a 100644 --- a/gcc/ada/fe.h +++ b/gcc/ada/fe.h @@ -122,9 +122,11 @@ extern void Set_Identifier_Casing (void *, const void *); #define Error_Msg_Uint_1 err_vars__error_msg_uint_1 #define Error_Msg_Uint_2 err_vars__error_msg_uint_2 +#define Error_Msg_Sloc err_vars__error_msg_sloc extern Uint Error_Msg_Uint_1; extern Uint Error_Msg_Uint_2; +extern Source_Ptr Error_Msg_Sloc; /* exp_ch11: */