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.
C4023
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler warning (level 1) C4023
 
     'function' : based pointer passed to unprototyped function :
     parameter 'number'
 
     There was an attempt to pass a based pointer to an unprototyped
     function.
 
     When using a memory model with near data, only the offset portion
     of a based pointer is passed to an unprototyped function. If the
     function expects a far pointer, the resulting code will be wrong.
 
     In all memory models, if the function is defined to take a based
     pointer with a different base, the resulting code may be
     unpredictable.
 
     This warning can be avoided by using a function prototype
     containing a reference to the proper base.
                                    -♦-