diff options
author | Steve Baird <baird@adacore.com> | 2024-10-22 16:20:27 -0700 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2024-11-12 14:00:50 +0100 |
commit | a45219815d17b050abc25a6348bfe7c981399363 (patch) | |
tree | 6bfc1dbdca6bae0247e5467967a240715e142890 /gcc/ada/raise-gcc.c | |
parent | fa50a45ece189fc19054e5596c974aca82525278 (diff) | |
download | gcc-a45219815d17b050abc25a6348bfe7c981399363.zip gcc-a45219815d17b050abc25a6348bfe7c981399363.tar.gz gcc-a45219815d17b050abc25a6348bfe7c981399363.tar.bz2 |
ada: Improve message for misused implicitly-defined preprocessor symbol.
If the -u option is specified, then otherwise-undefined preprocessor
symbols are implicitly defined to be False. If such an implicitly-defined
symbol is then incorrectly used in a context that requires an integer value,
the resulting error message should not incorrectly state that the symbol is
undefined.
gcc/ada/ChangeLog:
* prep.adb (Expression): Improve error message text when an
implicitly-defined Boolean-valued symbol is used in a context that
requires an integer value.
Diffstat (limited to 'gcc/ada/raise-gcc.c')
0 files changed, 0 insertions, 0 deletions