------- Comment #2 from steve dot chapel at a2pg dot com 2010-05-13 13:15 ------- Excellent! The new warning is far more understandable than the old.
X'"R" IN CALL RANDOM MAY NOT BE USED OUTSIDE THE BLOCK CONTAINING T 1 Warning: Initialization string starting at (1) was truncated after 72 characters to match the variable If it's difficult to place the error marker at the location the string was truncated, would it be easy to list the number of characters in the initialization string, so that one would not have to count characters to determine how many characters need to be removed, or how much larger to make the variable? Example: X'"R" IN CALL RANDOM MAY NOT BE USED OUTSIDE THE BLOCK CONTAINING T 1 Warning: Initialization string of 73 characters starting at (1) was truncated after 72 characters to match the variable -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38404