C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
C4125
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler warning (level 4) C4125
 
     decimal digit terminates octal escape sequence
 
     An octal escape sequence in a character or string constant was
     terminated by a decimal digit.
 
     The compiler evaluated the octal number without the decimal digit
     and assumed the decimal digit was a character.
 
     The following example generates this warning:
 
          char array1[] = "\709";
 
     If the digit 9 was intended as a character and was not a typing
     error, correct the example as follows:
 
          char array[] = "\0709";  /* String containing "89" */
                                    -♦-