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.
C4303
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler warning (level 4) C4303
 
     truncation during conversion of pointer to function to pointer
     to object
 
     A function pointer was converted to a smaller object or data
     pointer type. Information was lost in the casting.
 
     This condition is an error with the C compiler.
 
     This warning is generated by the following C++ example:
 
          void __far myfunc( void ) {};
 
          void * ptr;
          ptr = ( void * ) myfunc;
                                    -♦-