errors.hlp (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.
Error Message
                                                  Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler warning (level 1) C4413
 
     'function' : redefined, preceding references may be invalid
 
     The compiler issues this warning if a function definition changes
     between incremental compilations.
 
     The following example illustrates this:
 
          main()
          {
             func1();
          }
          int func1()
          {
          }
 
     If this program is compiled with the /Gi option, then the func1
     definition is changed to long func1, and the compiler issues this
     message to warn that calls to func1 may be of the wrong type.
 
     Be sure that function calls reference the correct type. If not,
     recompile without /Gi. To avoid the problem altogether, use
     function prototypes.
                                    -♦-