To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=62227





------- Additional comments from [EMAIL PROTECTED] Mon Feb 20 06:55:20 -0800 
2006 -------
pl: But I still think that the mangling is the same...    
    
tools/inc/solar.h:   
typedef sal_uIntPtr             ULONG;   
   
sal/inc/sal/types.h:   
#if SAL_TYPES_SIZEOFPOINTER == 4   
        typedef sal_uInt32          sal_uIntPtr;   
   
(Which is in turn   
#if SAL_TYPES_SIZEOFLONG == 4   
        typedef unsigned long     sal_uInt32;   
to "decrease" the confusion ;-) )   
   
Or does the typedef change the mangling?  I think that it does not:  
  
$ cat main.cc  
typedef unsigned long sal_uInt32;  
typedef sal_uInt32 sal_IntPtr;  
typedef sal_IntPtr ULONG;  
  
class C {  
public:  
    sal_uInt32 method( sal_uInt32 a, sal_IntPtr b, ULONG c ) {}  
};  
  
int main( int, char ** )  
{  
    C c;  
    c.method( 1, 2, 3 );  
}  
$ g++ main.cc -o main  
$ nm main | grep method  
080483fe W _ZN1C6methodEmmm 
$ c++filt _ZN1C6methodEmmm  
C::method(unsigned long, unsigned long, unsigned long)  

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to