Browse Source

Add new warning about variable with excessive align specification

Pierre Muller 2 months ago
parent
commit
4c7d6b1160
1 changed files with 3 additions and 1 deletions
  1. 3 1
      compiler/msg/errore.msg

+ 3 - 1
compiler/msg/errore.msg

@@ -168,7 +168,7 @@ general_t_objectpath_local=01033_T_$1: Using local object path: $2
 #
 #
 # Scanner
 # Scanner
 #
 #
-# 02112 is the last used one
+# 02114 is the last used one
 #
 #
 % \section{Scanner messages.}
 % \section{Scanner messages.}
 % This section lists the messages that the scanner emits. The scanner takes
 % This section lists the messages that the scanner emits. The scanner takes
@@ -407,6 +407,8 @@ scanner_w_illegal_warn_identifier=02087_W_Illegal identifier "$1" for $WARN dire
 scanner_e_illegal_alignment_directive=02088_E_Illegal alignment directive
 scanner_e_illegal_alignment_directive=02088_E_Illegal alignment directive
 % The alignment directive is not valid. Either the alignment type is not known or the alignment
 % The alignment directive is not valid. Either the alignment type is not known or the alignment
 % value is not a power of two.
 % value is not a power of two.
+scanner_w_alignment_large_than_max=02114_W_Variable "$1" has align directive larger than system maximum alignment for variables
+% The type of the variable has an 'align' directive which is larger than current_settings.alignment.varalignmax
 scanner_f_illegal_utf8_bom=02089_F_It is not possible to include a file that starts with an UTF-8 BOM in a module that uses a different code page
 scanner_f_illegal_utf8_bom=02089_F_It is not possible to include a file that starts with an UTF-8 BOM in a module that uses a different code page
 % All source code that is part of a single compilation entity (program, library, unit) must be encoded
 % All source code that is part of a single compilation entity (program, library, unit) must be encoded
 % in the same code page
 % in the same code page