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.
C4138
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler warning (level 1) C4138
 
     '*/' found outside of comment
 
     The compiler found a closing comment delimiter (*/) without a
     preceding opening delimiter. The compiler assumed a space between
     the asterisk (*) and the forward slash (/).
 
     The following example generates this warning:
 
          int */*comment*/ptr;
 
     In this example, the first comment delimiter is ambiguous.
 
     Usually, the cause of this warning is an attempt to nest comments.
 
     To comment out sections of code that may contain comments, enclose
     the code in an #if/#endif block and set the controlling expression
     to zero, as in:
 
          #if 0
          int my_variable;   /* Declaration currently not needed */
          #endif
                                    -♦-