errors.hlp (Topic list)
Error Message
                                                  Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler warning (level 1) C4138
 
     '*/' found outside of comment
 
     The compiler found a closing comment delimiter (*/) without a
     preceding opening delimiter. It assumed a space between the
     asterisk (*) and the forward slash (/).
 
     The following example causes this warning:
 
          int */*comment*/ptr;
 
     In this example, the compiler assumed a space before the first
     comment delimiter (/*), and issued the warning but compiled the
     line normally. To remove the warning, insert the assumed space.
 
     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
                                    -♦-