19 Jul
                
                    2005
                
            
            
                19 Jul
                
                '05
                
            
            
            
        
    
                4:24 a.m.
            
        Rob Stewart <stewart@sig.com> writes:
From: "Jonathan Turkanis" <technews@kangaroologic.com>
[snip]
Unfortunately, when compiled as C++, the zlib and libbz2 headers declare the allocation and deallocation function pointer types as extern "C", and Compaq (correctly, I think) refuses to let me assign pointers to static member functions to variables whose type are declared extern "C".
The static member functions have C++ language linkage, not C language linkage, so Tru64 is correct.
It seems to me that it is the calling convention that matters, not the linkage/name mangling. I don't see what extern "C" applied to a function pointer type means. This restriction does not seem right to me. [snip] -- Jeremy Maitin-Shepard