Closed
Bug 198789
Opened 21 years ago
Closed 19 years ago
Unsafe and potentially unsafe casts in several files.
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
EXPIRED
People
(Reporter: m4341, Assigned: asa)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210 Build Identifier: Mozilla/5.0 Version 1.3, attempted build under HP-UX with HP compilers/linkers Building under HP-UX 11.00/32-bit results in the following warnings, best displayed with fixed-width font: Warning 749: "nsCacheEntry.cpp", line 508 # The cast from 'PLDHashEntryHdr *' to 'nsCacheEntryHashTableEntry *' is performed as a 'reinterpret_cast'. This opera tion is non-portable and potentially unsafe. result = ((nsCacheEntryHashTableEntry *)hashEntry)->cacheEntry; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheEntry.cpp", line 528 # The cast from 'PLDHashEntryHdr *' to 'nsCacheEntryHashTableEntry *' is performed as a 'reinterpret_cast'. This opera tion is non-portable and potentially unsafe. ((nsCacheEntryHashTableEntry *)hashEntry)->cacheEntry = cacheEntr ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheEntry.cpp", line 566 # The cast from 'PLDHashEntryHdr *' to 'nsCacheEntryHashTableEntry *' is performed as a 'reinterpret_cast'. This opera tion is non-portable and potentially unsafe. nsCacheEntry *cacheEntry = ((nsCacheEntryHashTableEntry *)hashEntry)->ca cheEntry; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheEntry.cpp", line 577 # The cast from 'PLDHashEntryHdr *' to 'nsCacheEntryHashTableEntry *' is performed as a 'reinterpret_cast'. This opera tion is non-portable and potentially unsafe. nsCacheEntry *cacheEntry = ((nsCacheEntryHashTableEntry *)hashEntry)->ca cheEntry; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheEntry.cpp", line 594 # The cast from 'const PLDHashEntryHdr *' to 'nsCacheEntryHashTableEntry *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. nsCacheEntry *cacheEntry = ((nsCacheEntryHashTableEntry *)hashEntry)->ca cheEntry; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheEntry.cpp", line 605 # The cast from 'PLDHashEntryHdr *' to 'nsCacheEntryHashTableEntry *' is performed as a 'reinterpret_cast'. This opera tion is non-portable and potentially unsafe. ((nsCacheEntryHashTableEntry *)to)->cacheEntry = ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheEntry.cpp", line 606 # The cast from 'const PLDHashEntryHdr *' to 'nsCacheEntryHashTableEntry *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. ((nsCacheEntryHashTableEntry *)from)->cacheEntry; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheEntry.cpp", line 614 # The cast from 'PLDHashEntryHdr *' to 'nsCacheEntryHashTableEntry *' is performed as a 'reinterpret_cast'. This opera tion is non-portable and potentially unsafe. ((nsCacheEntryHashTableEntry *)hashEntry)->cacheEntry = 0; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheMetaData.cpp", line 102 # The cast from 'PLDHashEntryHdr *' to 'nsCacheMetaDataHashTableEntry *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. result = ((nsCacheMetaDataHashTableEntry *)hashEntry)->value; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheMetaData.cpp", line 126 # The cast from 'PLDHashEntryHdr *' to 'nsCacheMetaDataHashTableEntry *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. metaEntry = (nsCacheMetaDataHashTableEntry *) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheMetaData.cpp", line 218 # The cast from 'PLDHashEntryHdr *' to 'nsCacheMetaDataHashTableEntry *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. return ((nsCacheMetaDataHashTableEntry *)hashEntry)->key; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheMetaData.cpp", line 236 # The cast from 'const PLDHashEntry Hdr *' to 'nsCacheMetaDataHashTableEntry *' is performed as a 'reinterpret_cast' . This operation is non-portable and potentially unsafe. nsCString * entryKey = ((nsCacheMetaDataHashTableEntry *)hashEntry)->key ; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheMetaData.cpp", line 248 # The cast from 'PLDHashEntryHdr *' to 'nsCacheMetaDataHashTableEntry *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. ((nsCacheMetaDataHashTableEntry *)to)->key = ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheMetaData.cpp", line 249 # The cast from 'const PLDHashEntry Hdr *' to 'nsCacheMetaDataHashTableEntry *' is performed as a 'reinterpret_cast' . This operation is non-portable and potentially unsafe. ((nsCacheMetaDataHashTableEntry *)from)->key; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheMetaData.cpp", line 250 # The cast from 'PLDHashEntryHdr *' to 'nsCacheMetaDataHashTableEntry *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. ((nsCacheMetaDataHashTableEntry *)to)->value = ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheMetaData.cpp", line 251 # The cast from 'const PLDHashEntry Hdr *' to 'nsCacheMetaDataHashTableEntry *' is performed as a 'reinterpret_cast' . This operation is non-portable and potentially unsafe. ((nsCacheMetaDataHashTableEntry *)from)->value; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheMetaData.cpp", line 259 # The cast from 'PLDHashEntryHdr *' to 'nsCacheMetaDataHashTableEntry *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. ((nsCacheMetaDataHashTableEntry *)hashEntry)->key = 0; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheMetaData.cpp", line 260 # The cast from 'PLDHashEntryHdr *' to 'nsCacheMetaDataHashTableEntry *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. ((nsCacheMetaDataHashTableEntry *)hashEntry)->value = 0; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheMetaData.cpp", line 281 # The cast from 'PLDHashEntryHdr *' to 'nsCacheMetaDataHashTableEntry *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. nsCacheMetaDataHashTableEntry* hashEntry = (nsCacheMetaDataHashTableEntr y *)hdr; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ Warning 749: "nsCacheMetaData.cpp", line 294 # The cast from 'PLDHashEntryHdr *' to 'nsCacheMetaDataHashTableEntry *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. nsCacheMetaDataHashTableEntry* hashEntry = (nsCacheMetaDataHashTableEntr y *)hdr; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ Warning 749: "nsCacheMetaData.cpp", line 319 # The cast from 'PLDHashEntryHdr *' to 'nsCacheMetaDataHashTableEntry *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. nsCacheMetaDataHashTableEntry *entry = (nsCacheMetaDataHashTableEntry *) hdr; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheMetaData.cpp", line 332 # The cast from 'PLDHashEntryHdr *' to 'nsCacheMetaDataHashTableEntry *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. nsCacheMetaDataHashTableEntry *entry = (nsCacheMetaDataHashTableEntry *)hdr; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^ Warning 749: "nsCacheService.cpp", line 1502 # The cast from 'PLDHashEntryHdr *' to 'nsCacheEntryHashTableEntry *' is performed as a 'reinterpret_cast'. This op eration is non-portable and potentially unsafe. nsCacheEntry * entry = ((nsCacheEntryHashTableEntry *)hdr)->cacheEntry; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsCacheService.cpp", line 1533 # The cast from 'PLDHashEntryHdr *' to 'nsCacheEntryHashTableEntry *' is performed as a 'reinterpret_cast'. This op eration is non-portable and potentially unsafe. nsCacheEntry * entry = ((nsCacheEntryHashTableEntry *)hdr)->cacheEntry; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsDiskCacheBinding.cpp", line 101 # The cast from 'nsDerivedSafe<n sISupports> *' to 'nsDiskCacheBinding *' is performed as a 'reinterpret_cast'. T his operation is non-portable and potentially unsafe. return (nsDiskCacheBinding *)data.get(); ^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsDocLoader.cpp", line 978 # The cast from 'nsDerivedSafe<nsIDocum entLoader> *' to 'nsDocLoaderImpl *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. ((nsDocLoaderImpl *) docloader.get())->GetMaxTotalProgress(&invid ^^^^^^^^^^^^^^^^^^^ Warning 749: "nsExternalProtocolHandler.cpp", line 352 # The cast from 'nsDerive dSafe<nsIChannel> *' to 'nsExtProtocolChannel *' is performed as a 'reinterpret_ cast'. This operation is non-portable and potentially unsafe. ((nsExtProtocolChannel*) channel.get())->SetURI(aURI); ^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "jvmmgr.cpp", line 74 # The cast from 'nsDerivedSafe<nsIJVMManager> *' to 'nsJVMManager *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. nsJVMManager* jvmMgr = (nsJVMManager *)managerService.get(); ^^^^^^^^^^^^^^^^ Warning 749: "jvmmgr.cpp", line 100 # The cast from 'nsDerivedSafe<nsIJVMManager > *' to 'nsJVMManager *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. nsJVMManager* mgr = (nsJVMManager *)managerService.get(); ^^^^^^^^^^^^^^^^ Warning 749: "jvmmgr.cpp", line 115 # The cast from 'nsDerivedSafe<nsIJVMManager > *' to 'nsJVMManager *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. nsJVMManager* mgr = (nsJVMManager *)managerService.get(); ^^^^^^^^^^^^^^^^ Warning 749: "jvmmgr.cpp", line 128 # The cast from 'nsDerivedSafe<nsIJVMManager > *' to 'nsJVMManager *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. nsJVMManager* mgr = (nsJVMManager *)managerService.get(); ^^^^^^^^^^^^^^^^ Warning 749: "jvmmgr.cpp", line 330 # The cast from 'nsDerivedSafe<nsIJVMManager > *' to 'nsJVMManager *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. nsJVMManager* mgr = (nsJVMManager *)managerService.get(); ^^^^^^^^^^^^^^^^ Warning 749: "jvmmgr.cpp", line 345 # The cast from 'nsDerivedSafe<nsIJVMManager > *' to 'nsJVMManager *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. nsJVMManager* mgr = (nsJVMManager *)managerService.get(); ^^^^^^^^^^^^^^^^ Warning 749: "jvmmgr.cpp", line 359 # The cast from 'nsDerivedSafe<nsIJVMManager > *' to 'nsJVMManager *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. nsJVMManager* mgr = (nsJVMManager *)managerService.get(); ^^^^^^^^^^^^^^^^ Warning 749: "nsJVMManager.cpp", line 134 # The cast from 'nsDerivedSafe<nsIJVMM anager> *' to 'nsJVMManager *' is performed as a 'reinterpret_cast'. This operat ion is non-portable and potentially unsafe. nsJVMManager* jvmMgr = (nsJVMManager *)managerService.get(); ^^^^^^^^^^^^^^^^ Warning 749: "nsJVMManager.cpp", line 230 # The cast from 'PRThread *' to '_nsPl uginThread *' is performed as a 'reinterpret_cast'. This operation is non-portab le and potentially unsafe. *threadID = (nsPluginThread *) PR_GetCurrentThread(); ^^^^^^^^^^^^^^^^^^ Warning 740: "nsJVMManager.cpp", line 230 # Unsafe cast between pointers/referen ces to incomplete classes: casting 'PRThread *' to '_nsPluginThread *'. *threadID = (nsPluginThread *) PR_GetCurrentThread(); ^^^^^^^^^^^^^^^^^^^^^ Warning 749: "ProxyJNI.cpp", line 461 # The cast from '_jmethodID *' to 'JNIMeth od *' is performed as a 'reinterpret_cast'. This operation is non-portable and p otentially unsafe. JNIMethod* method = (JNIMethod*)methodID; ^^^^^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 461 # Unsafe cast between pointers/references to incomplete classes: casting '_jmethodID *' to 'JNIMethod *'. JNIMethod* method = (JNIMethod*)methodID; ^^^^^^^^ Warning 749: "ProxyJNI.cpp", line 478 # The cast from '_jmethodID *' to 'JNIMeth od *' is performed as a 'reinterpret_cast'. This operation is non-portable and p otentially unsafe. JNIMethod* method = (JNIMethod*)methodID; ^^^^^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 478 # Unsafe cast between pointers/references to incomplete classes: casting '_jmethodID *' to 'JNIMethod *'. JNIMethod* method = (JNIMethod*)methodID; ^^^^^^^^ Warning 749: "ProxyJNI.cpp", line 516 # The cast from 'JNIMethod *' to '_jmethod ID *' is performed as a 'reinterpret_cast'. This operation is non-portable and p otentially unsafe. outMethodID = jmethodID(method); ^^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 516 # Unsafe cast between pointers/references to incomplete classes: casting 'JNIMethod *' to '_jmethodID *'. outMethodID = jmethodID(method); ^^^^^^ Warning 749: "ProxyJNI.cpp", line 604 # The cast from '_jmethodID *' to 'JNIMeth od *' is performed as a 'reinterpret_cast'. This operation is non-portable and p otentially unsafe. IMPLEMENT_METHOD_FAMILY(CallObjectMethod, jobject, l) ^^^^^^^^^^^^^^^^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 604 # Unsafe cast between pointers/references to incomplete classes: casting '_jmethodID *' to 'JNIMethod *'. IMPLEMENT_METHOD_FAMILY(CallObjectMethod, jobject, l) ^^^^^^^^^^^^^^^^^^^^^^^ (and following uses of IMPLEMENT_METHOD_FAMILY) Warning 749: "ProxyJNI.cpp", line 619 # The cast from '_jmethodID *' to 'JNIMeth od *' is performed as a 'reinterpret_cast'. This operation is non-portable and p otentially unsafe. InvokeVoidMethod(env, obj, (JNIMethod*)methodID, args); ^^^^^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 619 # Unsafe cast between pointers/references to incomplete classes: casting '_jmethodID *' to 'JNIMethod *'. InvokeVoidMethod(env, obj, (JNIMethod*)methodID, args); ^^^^^^^^ Warning 749: "ProxyJNI.cpp", line 625 # The cast from '_jmethodID *' to 'JNIMeth od *' is performed as a 'reinterpret_cast'. This operation is non-portable and p otentially unsafe. InvokeVoidMethod(env, obj, (JNIMethod*)methodID, args); ^^^^^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 625 # Unsafe cast between pointers/references to incomplete classes: casting '_jmethodID *' to 'JNIMethod *'. InvokeVoidMethod(env, obj, (JNIMethod*)methodID, args); ^^^^^^^^ Warning 749: "ProxyJNI.cpp", line 630 # The cast from '_jmethodID *' to 'JNIMeth od *' is performed as a 'reinterpret_cast'. This operation is non-portable and p otentially unsafe. InvokeVoidMethod(env, obj, (JNIMethod*)methodID, args); ^^^^^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 630 # Unsafe cast between pointers/references to incomplete classes: casting '_jmethodID *' to 'JNIMethod *'. InvokeVoidMethod(env, obj, (JNIMethod*)methodID, args); ^^^^^^^^ Warning 749: "ProxyJNI.cpp", line 706 # The cast from '_jmethodID *' to 'JNIMeth od *' is performed as a 'reinterpret_cast'. This operation is non-portable and p otentially unsafe. InvokeNonVirtualVoidMethod(env, obj, clazz, (JNIMethod*)methodID, ar gs); ^^^^^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 706 # Unsafe cast between pointers/references to incomplete classes: casting '_jmethodID *' to 'JNIMethod *'. InvokeNonVirtualVoidMethod(env, obj, clazz, (JNIMethod*)methodID, ar gs); ^^^^^^^^ Warning 749: "ProxyJNI.cpp", line 712 # The cast from '_jmethodID *' to 'JNIMeth od *' is performed as a 'reinterpret_cast'. This operation is non-portable and p otentially unsafe. InvokeNonVirtualVoidMethod(env, obj, clazz, (JNIMethod*)methodID, ar gs); ^^^^^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 712 # Unsafe cast between pointers/references to incomplete classes: casting '_jmethodID *' to 'JNIMethod *'. InvokeNonVirtualVoidMethod(env, obj, clazz, (JNIMethod*)methodID, ar gs); ^^^^^^^^ Warning 749: "ProxyJNI.cpp", line 717 # The cast from '_jmethodID *' to 'JNIMeth od *' is performed as a 'reinterpret_cast'. This operation is non-portable and p otentially unsafe. InvokeNonVirtualVoidMethod(env, obj, clazz, (JNIMethod*)methodID, ar gs); ^^^^^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 717 # Unsafe cast between pointers/references to incomplete classes: casting '_jmethodID *' to 'JNIMethod *'. InvokeNonVirtualVoidMethod(env, obj, clazz, (JNIMethod*)methodID, ar gs); ^^^^^^^^ Warning 749: "ProxyJNI.cpp", line 734 # The cast from 'JNIField *' to '_jfieldID *' is performed as a 'reinterpret_cast'. This operation is non-portable and pot entially unsafe. outFieldID = jfieldID(field); ^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 734 # Unsafe cast between pointers/references to incomplete classes: casting 'JNIField *' to '_jfieldID *'. outFieldID = jfieldID(field); ^^^^^ Warning 749: "ProxyJNI.cpp", line 757 # The cast from '_jfieldID *' to 'JNIField *' is performed as a 'reinterpret_cast'. This operation is non-portable and pot entially unsafe. IMPLEMENT_GET_FIELD(GetObjectField, jobject, l) ^^^^^^^^^^^^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 757 # Unsafe cast between pointers/references to incomplete classes: casting '_jfieldID *' to 'JNIField *'. IMPLEMENT_GET_FIELD(GetObjectField, jobject, l) ^^^^^^^^^^^^^^^^^^^ (And following uses of IMPLEMENT_GET_FIELD) Warning 749: "ProxyJNI.cpp", line 787 # The cast from '_jfieldID *' to 'JNIField *' is performed as a 'reinterpret_cast'. This operation is non-portable and pot entially unsafe. IMPLEMENT_SET_FIELD(SetObjectField, jobject, l) ^^^^^^^^^^^^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 787 # Unsafe cast between pointers/references to incomplete classes: casting '_jfieldID *' to 'JNIField *'. IMPLEMENT_SET_FIELD(SetObjectField, jobject, l) ^^^^^^^^^^^^^^^^^^^ (And following uses of IMPLEMENT_SET_FIELD) Warning 749: "ProxyJNI.cpp", line 813 # The cast from 'JNIMethod *' to '_jmethod ID *' is performed as a 'reinterpret_cast'. This operation is non-portable and p otentially unsafe. outMethodID = jmethodID(method); ^^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 813 # Unsafe cast between pointers/references to incomplete classes: casting 'JNIMethod *' to '_jmethodID *'. outMethodID = jmethodID(method); ^^^^^^ Warning 749: "ProxyJNI.cpp", line 893 # The cast from '_jmethodID *' to 'JNIMeth od *' is performed as a 'reinterpret_cast'. This operation is non-portable and p otentially unsafe. InvokeStaticVoidMethod(env, clazz, (JNIMethod*)methodID, args); ^^^^^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 893 # Unsafe cast between pointers/references to incomplete classes: casting '_jmethodID *' to 'JNIMethod *'. InvokeStaticVoidMethod(env, clazz, (JNIMethod*)methodID, args); ^^^^^^^^ Warning 749: "ProxyJNI.cpp", line 899 # The cast from '_jmethodID *' to 'JNIMeth od *' is performed as a 'reinterpret_cast'. This operation is non-portable and p otentially unsafe. InvokeStaticVoidMethod(env, clazz, (JNIMethod*)methodID, args); ^^^^^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 899 # Unsafe cast between pointers/references to incomplete classes: casting '_jmethodID *' to 'JNIMethod *'. InvokeStaticVoidMethod(env, clazz, (JNIMethod*)methodID, args); ^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 899 # Unsafe cast between pointers/references to incomplete classes: casting '_jmethodID *' to 'JNIMethod *'. InvokeStaticVoidMethod(env, clazz, (JNIMethod*)methodID, args); ^^^^^^^^ Warning 749: "ProxyJNI.cpp", line 904 # The cast from '_jmethodID *' to 'JNIMeth od *' is performed as a 'reinterpret_cast'. This operation is non-portable and p otentially unsafe. InvokeStaticVoidMethod(env, clazz, (JNIMethod*)methodID, args); ^^^^^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 904 # Unsafe cast between pointers/references to incomplete classes: casting '_jmethodID *' to 'JNIMethod *'. InvokeStaticVoidMethod(env, clazz, (JNIMethod*)methodID, args); ^^^^^^^^ Warning 749: "ProxyJNI.cpp", line 921 # The cast from 'JNIField *' to '_jfieldID *' is performed as a 'reinterpret_cast'. This operation is non-portable and pot entially unsafe. outFieldID = jfieldID(field); ^^^^^^^^ Warning 740: "ProxyJNI.cpp", line 921 # Unsafe cast between pointers/references to incomplete classes: casting 'JNIField *' to '_jfieldID *'. outFieldID = jfieldID(field); ^^^^^ Warning 749: "lcglue.cpp", line 200 # The cast from 'nsDerivedSafe<nsIJVMManager > *' to 'nsJVMManager *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. nsJVMManager* pJVMMgr = (nsJVMManager *)managerService.get(); ^^^^^^^^^^^^^^^^ Warning 749: "lcglue.cpp", line 385 # The cast from 'nsDerivedSafe<nsIJVMManager > *' to 'nsJVMManager *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. nsJVMManager* pJVMMgr = (nsJVMManager *)managerService.get(); ^^^^^^^^^^^^^^^^ Warning 749: "lcglue.cpp", line 406 # The cast from 'nsDerivedSafe<nsIJVMManager > *' to 'nsJVMManager *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. nsJVMManager* pJVMMgr = (nsJVMManager *)managerService.get(); ^^^^^^^^^^^^^^^^ Warning 749: "nsDeviceContextGTK.cpp", line 194 # The cast from '_GtkTypeObject *' to '_GdkSuperWin *' is performed as a 'reinterpret_cast'. This operation is n on-portable and potentially unsafe. mDeviceWindow = GDK_SUPERWIN(aNativeWidget)->shell_window; ^^^^^^^^^^^^ Warning 749: "nsDeviceContextGTK.cpp", line 198 # The cast from '_GtkTypeObject *' to '_GtkWidget *' is performed as a 'reinterpret_cast'. This operation is non -portable and potentially unsafe. mDeviceWindow = GTK_WIDGET(aNativeWidget)->window; ^^^^^^^^^^ Warning 749: "nsDeviceContextGTK.cpp", line 262 # The cast from '_GtkWidget *' t o '_GtkObject *' is performed as a 'reinterpret_cast'. This operation is non-por table and potentially unsafe. gtk_object_sink(GTK_OBJECT(sb)); ^^^^^^^^^^ (And following uses of GTK_OBJECT) Warning 749: "nsDeviceContextGTK.cpp", line 328 # The cast from '_GtkWidget *' t o '_GtkTypeObject *' is performed as a 'reinterpret_cast'. This operation is non -portable and potentially unsafe. if (GTK_IS_LAYOUT(w)) ^^^^^^^^^^^^^ Warning 749: "nsDeviceContextGTK.cpp", line 329 # The cast from '_GtkWidget *' t o '_GtkTypeObject *' is performed as a 'reinterpret_cast'. This operation is non -portable and potentially unsafe. gwin = (GdkDrawable*)GTK_LAYOUT(w)->bin_window; ^^^^^^^^^^ Warning 749: "nsDeviceContextGTK.cpp", line 690 # The cast from '_GtkTypeObject *' to '_GtkContainer *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. gtk_container_add(GTK_CONTAINER(parent), label); ^^^^^^^^^^^^^ (And following uses of GTK_CONTAINER) Warning 749: "nsDeviceContextGTK.cpp", line 725 # The cast from '_GtkWidget *' t o '_GtkTypeObject *' is performed as a 'reinterpret_cast'. This operation is non -portable and potentially unsafe. gtk_menu_append(GTK_MENU(menu), menuitem); ^^^^^^^^ Warning 749: "nsDeviceContextGTK.cpp", line 907 # The cast from '_GdkFont *' to '_GdkFontPrivate *' is performed as a 'reinterpret_cast'. This operation is non- portable and potentially unsafe. Display *fontDisplay = GDK_FONT_XDISPLAY(theFont); ^^^^^^^^^^^^^^^^^ Warning 749: "nsDeviceContextGTK.cpp", line 910 # The cast from '_GdkFont *' to '_GdkFontPrivate *' is performed as a 'reinterpret_cast'. This operation is non- portable and potentially unsafe. NS_STATIC_CAST(XFontStruct*, GDK_FONT_XFONT(theFont)); ^^^^^^^^^^^^^^ Warning 749: "nsDeviceContextGTK.cpp", line 920 # The cast from '_GdkFont *' to '_GdkFontPrivate *' is performed as a 'reinterpret_cast'. This operation is non- portable and potentially unsafe. XFontSet fontSet = NS_REINTERPRET_CAST(XFontSet, GDK_FONT_XFONT(theFont) ); ^^^^^^^^^^^^^^^^^^^ Warning 749: "nsDeviceContextSpecFactoryG.cpp", line 86 # The cast from 'nsDeriv edSafe<nsIDeviceContextSpec> *' to 'nsDeviceContextSpecGTK *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. rv = ((nsDeviceContextSpecGTK *)devSpec.get())->Init(aPrintSettings); ^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsDrawingSurfaceGTK.cpp", line 175 # The cast from '_GdkImage *' t o '_GdkImagePrivate *' is performed as a 'reinterpret_cast'. This operation is n on-portable and potentially unsafe. *aBits = GDK_IMAGE_XIMAGE(mImage)->data; ^^^^^^^^^^^^^^^^ Warning 749: "nsDrawingSurfaceGTK.cpp", line 178 # The cast from '_GdkImage *' t o '_GdkImagePrivate *' is performed as a 'reinterpret_cast'. This operation is n on-portable and potentially unsafe. *aStride = GDK_IMAGE_XIMAGE(mImage)->bytes_per_line; ^^^^^^^^^^^^^^^^ Warning 749: "nsDrawingSurfaceGTK.cpp", line 274 # The cast from '_GdkWindow *' to '_GdkWindowPrivate *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. mWidth = ((GdkWindowPrivate*)aDrawable)->width; ^^^^^^^^^^^^^^^^^^^ Warning 749: "nsDrawingSurfaceGTK.cpp", line 275 # The cast from '_GdkWindow *' to '_GdkWindowPrivate *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. mHeight = ((GdkWindowPrivate*)aDrawable)->height; ^^^^^^^^^^^^^^^^^^^ Warning 749: "nsImageGTK.cpp", line 404 # The cast from '_GdkGC *' to '_GdkGCPri vate *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. GDK_GC_XGC(s1bitGC), ^^^^^^^^^^ Warning 749: "nsImageGTK.cpp", line 403 # The cast from '_GdkWindow *' to '_GdkW indowPrivate *' is performed as a 'reinterpret_cast'. This operation is non-port able and potentially unsafe. GDK_WINDOW_XWINDOW(mAlphaPixmap), ^^^^^^^^^^^^^^^^^^ (And following uses of GDK_WINDOW_XWINDOW) Warning 749: "nsImageGTK.cpp", line 402 # The cast from '_GdkWindow *' to '_GdkW indowPrivate *' is performed as a 'reinterpret_cast'. This operation is non-port able and potentially unsafe. XPutImage(GDK_WINDOW_XDISPLAY(mAlphaPixmap), ^^^^^^^^^^^^^^^^^^^ (And following uses of GDK_WINDOW_XDISPLAY) Warning 749: "nsImageGTK.cpp", line 1463 # The cast from '_GdkVisual *' to '_Gdk VisualPrivate *' is performed as a 'reinterpret_cast'. This operation is non-por table and potentially unsafe. GDK_VISUAL_XVISUAL(gdk_rgb_get_visual()), ^^^^^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 72 # The cast from 'PRCListStr *' to 'GCCache Entry *' is performed as a 'reinterpret_cast'. This operation is non-portable an d potentially unsafe. GCCacheEntry *entry = (GCCacheEntry *)clist; ^^^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 103 # The cast from 'PRCListStr *' to 'GCCach eEntry *' is performed as a 'reinterpret_cast'. This operation is non-portable a nd potentially unsafe. delete (GCCacheEntry *)head; ^^^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 143 # The cast from 'PRCListStr *' to 'GCCach eEntry *' is performed as a 'reinterpret_cast'. This operation is non-portable a nd potentially unsafe. GCCacheEntry *entry = (GCCacheEntry *)head; ^^^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 159 # The cast from 'PRCListStr *' to 'GCCach eEntry *' is performed as a 'reinterpret_cast'. This operation is non-portable a nd potentially unsafe. entry = (GCCacheEntry *)iter; ^^^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 192 # The cast from 'PRCListStr *' to 'GCCach eEntry *' is performed as a 'reinterpret_cast'. This operation is non-portable a nd potentially unsafe. entry = (GCCacheEntry *)iter; ^^^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 203 # The cast from '_GdkGC *' to '_GdkGCPriv ate *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. else if ( ((GdkGCPrivate*)entry->gc)->ref_count > 1 ) { ^^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 304 # The cast from '_GdkFont *' to '_GdkFont Private *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. xvalues.font = ((XFontStruct *)GDK_FONT_XFONT(gcv->font))->fid; ^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 324 # The cast from '_GdkGC *' to '_GdkGCPriv ate *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. XChangeGC(GDK_GC_XDISPLAY(entry->gc), GDK_GC_XGC(entry->gc), ^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 324 # The cast from '_GdkGC *' to '_GdkGCPriv ate *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. XChangeGC(GDK_GC_XDISPLAY(entry->gc), GDK_GC_XGC(entry->gc), ^^^^^^^^^^^^^^^ Warning 749: "nsRenderingContextGTK.cpp", line 565 # The cast from '_GdkGC *' to '_GdkGCPrivate *' is performed as a 'reinterpret_cast'. This operation is non-p ortable and potentially unsafe. ::XSetDashes(GDK_DISPLAY(), GDK_GC_XGC(mGC), ^^^^^^^^^^ Warning 749: "nsX11AlphaBlend.cpp", line 194 # The cast from '_XDisplay *' to '{ unnamed.struct.#21} [in file "nsX11AlphaBlend.cpp"] *' is performed as a 'reinte rpret_cast'. This operation is non-portable and potentially unsafe. Visual *visual = DefaultVisual(aDisplay,DefaultScreen(aDisplay)); ^^^^^^^^^^^^^ Warning 740: "nsX11AlphaBlend.cpp", line 194 # Unsafe cast between pointers/refe rences to incomplete classes: casting '_XDisplay *' to '{unnamed.struct.#21} [in file "nsX11AlphaBlend.cpp"] *'. Visual *visual = DefaultVisual(aDisplay,DefaultScreen(aDisplay)); ^^^^^^^^^^^^^ Warning 749: "nsX11AlphaBlend.cpp", line 203 # The cast from '_XDisplay *' to '{ unnamed.struct.#21} [in file "nsX11AlphaBlend.cpp"] *' is performed as a 'reinte rpret_cast'. This operation is non-portable and potentially unsafe. Window root_win = RootWindow(aDisplay, DefaultScreen(aDisplay)); ^^^^^^^^^^ Warning 740: "nsX11AlphaBlend.cpp", line 203 # Unsafe cast between pointers/refe rences to incomplete classes: casting '_XDisplay *' to '{unnamed.struct.#21} [in file "nsX11AlphaBlend.cpp"] *'. Window root_win = RootWindow(aDisplay, DefaultScreen(aDisplay)); ^^^^^^^^^^ Warning 749: "nsX11AlphaBlend.cpp", line 416 # The cast from '_XDisplay *' to '{ unnamed.struct.#21} [in file "nsX11AlphaBlend.cpp"] *' is performed as a 'reinte rpret_cast'. This operation is non-portable and potentially unsafe. root_win_width = DisplayWidth(aDisplay, aScreen); ^^^^^^^^^^^^ Warning 740: "nsX11AlphaBlend.cpp", line 416 # Unsafe cast between pointers/refe rences to incomplete classes: casting '_XDisplay *' to '{unnamed.struct.#21} [in file "nsX11AlphaBlend.cpp"] *'. root_win_width = DisplayWidth(aDisplay, aScreen); ^^^^^^^^^^^^ Warning 749: "nsX11AlphaBlend.cpp", line 417 # The cast from '_XDisplay *' to '{ unnamed.struct.#21} [in file "nsX11AlphaBlend.cpp"] *' is performed as a 'reinte rpret_cast'. This operation is non-portable and potentially unsafe. root_win_height = DisplayHeight(aDisplay, aScreen); ^^^^^^^^^^^^^ Warning 740: "nsX11AlphaBlend.cpp", line 417 # Unsafe cast between pointers/refe rences to incomplete classes: casting '_XDisplay *' to '{unnamed.struct.#21} [in file "nsX11AlphaBlend.cpp"] *'. root_win_height = DisplayHeight(aDisplay, aScreen); ^^^^^^^^^^^^^ Warning 749: "nsX11AlphaBlend.cpp", line 440 # The cast from '_XDisplay *' to '{ unnamed.struct.#21} [in file "nsX11AlphaBlend.cpp"] *' is performed as a 'reinte rpret_cast'. This operation is non-portable and potentially unsafe. DefaultDepth(aDisplay, aScreen), ZPixmap, ^^^^^^^^^^^^ Warning 740: "nsX11AlphaBlend.cpp", line 440 # Unsafe cast between pointers/refe rences to incomplete classes: casting '_XDisplay *' to '{unnamed.struct.#21} [in file "nsX11AlphaBlend.cpp"] *'. DefaultDepth(aDisplay, aScreen), ZPixmap, ^^^^^^^^^^^^ Warning 749: "nsX11AlphaBlend.cpp", line 439 # The cast from '_XDisplay *' to '{ unnamed.struct.#21} [in file "nsX11AlphaBlend.cpp"] *' is performed as a 'reinte rpret_cast'. This operation is non-portable and potentially unsafe. DefaultVisual(aDisplay, aScreen), ^^^^^^^^^^^^^ Warning 740: "nsX11AlphaBlend.cpp", line 439 # Unsafe cast between pointers/refe rences to incomplete classes: casting '_XDisplay *' to '{unnamed.struct.#21} [in file "nsX11AlphaBlend.cpp"] *'. DefaultVisual(aDisplay, aScreen), ^^^^^^^^^^^^^ Warning 749: "nsXFontAAScaledBitmap.cpp", line 186 # The cast from '_GdkWindow * ' to '_GdkWindowPrivate *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. Drawable win = GDK_WINDOW_XWINDOW(aDrawable); ^^^^^^^^^^^^^^^^^^ Warning 749: "nsXFontAAScaledBitmap.cpp", line 187 # The cast from '_GdkGC *' to '_GdkGCPrivate *' is performed as a 'reinterpret_cast'. This operation is non-p ortable and potentially unsafe. GC gc = GDK_GC_XGC(aGC); ^^^^^^^^^^ Warning 749: "nsXFontAAScaledBitmap.cpp", line 488 # The cast from '_XDisplay *' to '{unnamed.struct.#78} [in file "nsXFontAAScaledBitmap.cpp"] *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. root_win = RootWindow(sDisplay, aScreen); ^^^^^^^^^^ Warning 740: "nsXFontAAScaledBitmap.cpp", line 488 # Unsafe cast between pointer s/references to incomplete classes: casting '_XDisplay *' to '{unnamed.struct.#7 8} [in file "nsXFontAAScaledBitmap.cpp"] *'. root_win = RootWindow(sDisplay, aScreen); ^^^^^^^^^^ Warning 749: "nsXFontAAScaledBitmap.cpp", line 519 # The cast from '_GdkFont *' to '_GdkFontPrivate *' is performed as a 'reinterpret_cast'. This operation is n on-portable and potentially unsafe. mUnscaledFontInfo = (XFontStruct *)GDK_FONT_XFONT(mGdkFont); ^^^^^^^^^^^^^^ Warning 749: "nsXFontAAScaledBitmap.cpp", line 585 # The cast from '_XDisplay *' to '{unnamed.struct.#78} [in file "nsXFontAAScaledBitmap.cpp"] *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. mForegroundGC = XCreateGC(mDisplay, RootWindow(mDisplay, mScreen), 0, NULL ); ^^^^^^^^^^ Warning 740: "nsXFontAAScaledBitmap.cpp", line 585 # Unsafe cast between pointer s/references to incomplete classes: casting '_XDisplay *' to '{unnamed.struct.#7 8} [in file "nsXFontAAScaledBitmap.cpp"] *'. mForegroundGC = XCreateGC(mDisplay, RootWindow(mDisplay, mScreen), 0, NULL ); ^^^^^^^^^^ Warning 749: "nsXFontAAScaledBitmap.cpp", line 597 # The cast from '_XDisplay *' to '{unnamed.struct.#78} [in file "nsXFontAAScaledBitmap.cpp"] *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. DefaultDepth(mDisplay, mScreen)); ^^^^^^^^^^^^ Warning 740: "nsXFontAAScaledBitmap.cpp", line 597 # Unsafe cast between pointer s/references to incomplete classes: casting '_XDisplay *' to '{unnamed.struct.#7 8} [in file "nsXFontAAScaledBitmap.cpp"] *'. DefaultDepth(mDisplay, mScreen)); ^^^^^^^^^^^^ Warning 749: "nsXFontAAScaledBitmap.cpp", line 595 # The cast from '_XDisplay *' to '{unnamed.struct.#78} [in file "nsXFontAAScaledBitmap.cpp"] *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. RootWindow(mDisplay,DefaultScreen(mDisplay)), ^^^^^^^^^^ Warning 740: "nsXFontAAScaledBitmap.cpp", line 595 # Unsafe cast between pointer s/references to incomplete classes: casting '_XDisplay *' to '{unnamed.struct.#7 8} [in file "nsXFontAAScaledBitmap.cpp"] *'. RootWindow(mDisplay,DefaultScreen(mDisplay)), ^^^^^^^^^^ Warning 749: "nsXFontAAScaledBitmap.cpp", line 595 # The cast from '_XDisplay *' to '{unnamed.struct.#78} [in file "nsXFontAAScaledBitmap.cpp"] *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. RootWindow(mDisplay,DefaultScreen(mDisplay)), ^^^^^^^^^^ Warning 740: "nsXFontAAScaledBitmap.cpp", line 595 # Unsafe cast between pointer s/references to incomplete classes: casting '_XDisplay *' to '{unnamed.struct.#7 8} [in file "nsXFontAAScaledBitmap.cpp"] *'. RootWindow(mDisplay,DefaultScreen(mDisplay)), ^^^^^^^^^^ Warning 749: "nsXFontNormal.cpp", line 70 # The cast from '_GdkFont *' to '_GdkF ontPrivate *' is performed as a 'reinterpret_cast'. This operation is non-portab le and potentially unsafe. XFontStruct *fontInfo = (XFontStruct *)GDK_FONT_XFONT(mGdkFont); ^^^^^^^^^^^^^^ (And following uses of GDK_FONT_XFONT) Warning 749: "nsFontMetricsGTK.cpp", line 1108 # The cast from '_XDisplay *' to '{unnamed.struct.#158} [in file "nsFontMetricsGTK.cpp"] *' is performed as a 're interpret_cast'. This operation is non-portable and potentially unsafe. DefaultScreen(GDK_DISPLAY())); ^^^^^^^^^^^^^ Warning 740: "nsFontMetricsGTK.cpp", line 1108 # Unsafe cast between pointers/re ferences to incomplete classes: casting '_XDisplay *' to '{unnamed.struct.#158} [in file "nsFontMetricsGTK.cpp"] *'. DefaultScreen(GDK_DISPLAY())); ^^^^^^^^^^^^^ Warning 749: "nsFontMetricsGTK.cpp", line 2458 # The cast from '_XDisplay *' to '{unnamed.struct.#158} [in file "nsFontMetricsGTK.cpp"] *' is performed as a 're interpret_cast'. This operation is non-portable and potentially unsafe. DefaultScreen(GDK_DISPLAY()), ^^^^^^^^^^^^^ Warning 740: "nsFontMetricsGTK.cpp", line 2458 # Unsafe cast between pointers/re ferences to incomplete classes: casting '_XDisplay *' to '{unnamed.struct.#158} [in file "nsFontMetricsGTK.cpp"] *'. DefaultScreen(GDK_DISPLAY()), ^^^^^^^^^^^^^ Warning 749: "nsFontMetricsGTK.cpp", line 2477 # The cast from '_GdkFont *' to ' _GdkFontPrivate *' is performed as a 'reinterpret_cast'. This operation is non-p ortable and potentially unsafe. xFont_with_per_char = (XFontStruct *)GDK_FONT_XFONT(mFontHolder); ^^^^^^^^^^^^^^ Warning 749: "nsGdkUtils.cpp", line 65 # The cast from '_GdkWindow *' to '_GdkWi ndowPrivate *' is performed as a 'reinterpret_cast'. This operation is non-porta ble and potentially unsafe. drawable_private = (GdkWindowPrivate*) drawable; ^^^^^^^^^^^^^^^^^^^ Warning 749: "nsGdkUtils.cpp", line 69 # The cast from '_GdkGC *' to '_GdkGCPriv ate *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. gc_private = (GdkGCPrivate*) gc; ^^^^^^^^^^^^^^^ Warning 749: "nsGdkUtils.cpp", line 70 # The cast from '_GdkFont *' to '_GdkFont Private *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. font_private = (GdkFontPrivate*) font; ^^^^^^^^^^^^^^^^^ Warning 749: "nsRegionGTK.cpp", line 308 # The cast from '_GdkRegion *' to '_Gdk RegionPrivate *' is performed as a 'reinterpret_cast'. This operation is non-por table and potentially unsafe. priv = (GdkRegionPrivate *)mRegion; ^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsRegionGTK.cpp", line 394 # The cast from '_GdkRegion *const' to '_GdkRegionPrivate *' is performed as a 'reinterpret_cast'. This operation is no n-portable and potentially unsafe. GdkRegionPrivate *priv = (GdkRegionPrivate *)mRegion; ^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsDeviceContextSpecFactoryX.cpp", line 71 # The cast from 'nsDeriv edSafe<nsIDeviceContextSpec> *' to 'nsDeviceContextSpecXlib *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. rv = ((nsDeviceContextSpecXlib *)devSpec.get())->Init(aPrintSettings); ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsImageXlib.cpp", line 472 # The cast from '_XDisplay *' to '{unna med.struct.#29} [in file "nsImageXlib.cpp"] *' is performed as a 'reinterpret_ca st'. This operation is non-portable and potentially unsafe. pixmap = XCreatePixmap(mDisplay, DefaultRootWindow(mDisplay), ^^^^^^^^^^^^^^^^^ Warning 740: "nsImageXlib.cpp", line 472 # Unsafe cast between pointers/referenc es to incomplete classes: casting '_XDisplay *' to '{unnamed.struct.#29} [in fil e "nsImageXlib.cpp"] *'. pixmap = XCreatePixmap(mDisplay, DefaultRootWindow(mDisplay), ^^^^^^^^^^^^^^^^^ Warning 749: "nsImageXlib.cpp", line 472 # The cast from '_XDisplay *' to '{unna med.struct.#29} [in file "nsImageXlib.cpp"] *' is performed as a 'reinterpret_ca st'. This operation is non-portable and potentially unsafe. pixmap = XCreatePixmap(mDisplay, DefaultRootWindow(mDisplay), ^^^^^^^^^^^^^^^^^ Warning 740: "nsImageXlib.cpp", line 472 # Unsafe cast between pointers/referenc es to incomplete classes: casting '_XDisplay *' to '{unnamed.struct.#29} [in fil e "nsImageXlib.cpp"] *'. pixmap = XCreatePixmap(mDisplay, DefaultRootWindow(mDisplay), ^^^^^^^^^^^^^^^^^ Warning 749: "nsImageXlib.cpp", line 1123 # The cast from '_XDisplay *' to '{unn amed.struct.#29} [in file "nsImageXlib.cpp"] *' is performed as a 'reinterpret_c ast'. This operation is non-portable and potentially unsafe. mAlphaPixmap = XCreatePixmap(mDisplay, DefaultRootWindow(mDisplay), ^^^^^^^^^^^^^^^^^ Warning 740: "nsImageXlib.cpp", line 1123 # Unsafe cast between pointers/referen ces to incomplete classes: casting '_XDisplay *' to '{unnamed.struct.#29} [in fi le "nsImageXlib.cpp"] *'. mAlphaPixmap = XCreatePixmap(mDisplay, DefaultRootWindow(mDisplay), ^^^^^^^^^^^^^^^^^ Warning 749: "nsImageXlib.cpp", line 1123 # The cast from '_XDisplay *' to '{unn amed.struct.#29} [in file "nsImageXlib.cpp"] *' is performed as a 'reinterpret_c ast'. This operation is non-portable and potentially unsafe. mAlphaPixmap = XCreatePixmap(mDisplay, DefaultRootWindow(mDisplay), ^^^^^^^^^^^^^^^^^ Warning 740: "nsImageXlib.cpp", line 1123 # Unsafe cast between pointers/referen ces to incomplete classes: casting '_XDisplay *' to '{unnamed.struct.#29} [in fi le "nsImageXlib.cpp"] *'. mAlphaPixmap = XCreatePixmap(mDisplay, DefaultRootWindow(mDisplay), ^^^^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 60 # The cast from 'PRCListStr *' to 'GCCache EntryXlib *' is performed as a 'reinterpret_cast'. This operation is non-portabl e and potentially unsafe. GCCacheEntryXlib *entry = (GCCacheEntryXlib *)clist; ^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 89 # The cast from 'PRCListStr *' to 'GCCache EntryXlib *' is performed as a 'reinterpret_cast'. This operation is non-portabl e and potentially unsafe. delete (GCCacheEntryXlib *)head; ^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 125 # The cast from 'PRCListStr *' to 'GCCach eEntryXlib *' is performed as a 'reinterpret_cast'. This operation is non-portab le and potentially unsafe. GCCacheEntryXlib *entry = (GCCacheEntryXlib *)head; ^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 140 # The cast from 'PRCListStr *' to 'GCCach eEntryXlib *' is performed as a 'reinterpret_cast'. This operation is non-portab le and potentially unsafe. entry = (GCCacheEntryXlib *)iter; ^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 175 # The cast from 'PRCListStr *' to 'GCCach eEntryXlib *' is performed as a 'reinterpret_cast'. This operation is non-portab le and potentially unsafe. entry = (GCCacheEntryXlib *)iter; ^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 60 # The cast from 'PRCListStr *' to 'GCCache EntryXlib *' is performed as a 'reinterpret_cast'. This operation is non-portabl e and potentially unsafe. GCCacheEntryXlib *entry = (GCCacheEntryXlib *)clist; ^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 89 # The cast from 'PRCListStr *' to 'GCCache EntryXlib *' is performed as a 'reinterpret_cast'. This operation is non-portabl e and potentially unsafe. delete (GCCacheEntryXlib *)head; ^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 125 # The cast from 'PRCListStr *' to 'GCCach eEntryXlib *' is performed as a 'reinterpret_cast'. This operation is non-portab le and potentially unsafe. GCCacheEntryXlib *entry = (GCCacheEntryXlib *)head; ^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 140 # The cast from 'PRCListStr *' to 'GCCach eEntryXlib *' is performed as a 'reinterpret_cast'. This operation is non-portab le and potentially unsafe. entry = (GCCacheEntryXlib *)iter; ^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsGCCache.cpp", line 175 # The cast from 'PRCListStr *' to 'GCCach eEntryXlib *' is performed as a 'reinterpret_cast'. This operation is non-portab le and potentially unsafe. entry = (GCCacheEntryXlib *)iter; ^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsJPEGDecoder.cpp", line 341 # The cast from 'jpeg_decompress_stru ct *' to 'jpeg_common_struct *' is performed as a 'reinterpret_cast'. This opera tion is non-portable and potentially unsafe. mSamples = (*mInfo.mem->alloc_sarray)((j_common_ptr) &mInfo, ^^^^^^^^^^^^^^ Warning 749: "nsJPEGDecoder.cpp", line 357 # The cast from 'jpeg_decompress_stru ct *' to 'jpeg_common_struct *' is performed as a 'reinterpret_cast'. This opera tion is non-portable and potentially unsafe. mSamples3 = (*mInfo.mem->alloc_sarray)((j_common_ptr) &mInfo, ^^^^^^^^^^^^^^ Warning 749: "nsJPEGDecoder.cpp", line 592 # The cast from 'jpeg_error_mgr *' to 'decoder_error_mgr *' is performed as a 'reinterpret_cast'. This operation is n on-portable and potentially unsafe. decoder_error_mgr *err = (decoder_error_mgr *) cinfo->err; ^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsJPEGDecoder.cpp", line 676 # The cast from 'jpeg_source_mgr *' t o 'decoder_source_mgr *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. decoder_source_mgr *src = (decoder_source_mgr *)jd->src; ^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsJPEGDecoder.cpp", line 712 # The cast from 'jpeg_source_mgr *' t o 'decoder_source_mgr *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. decoder_source_mgr *src = (decoder_source_mgr *)jd->src; ^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "nsJPEGDecoder.cpp", line 786 # The cast from 'jpeg_decompress_stru ct *' to 'jpeg_common_struct *' is performed as a 'reinterpret_cast'. This opera tion is non-portable and potentially unsafe. my_error_exit((j_common_ptr)(&src->decoder->mInfo)); ^^^^^^^^^^^^^^ Warning 749: "nsJPEGDecoder.cpp", line 822 # The cast from 'jpeg_source_mgr *' t o 'decoder_source_mgr *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. decoder_source_mgr *src = (decoder_source_mgr *)jd->src; ^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "ns4xPlugin.cpp", line 1160 # The cast from '_NPRect *' to 'nsPlugi nRect *' is performed as a 'reinterpret_cast'. This operation is non-portable an d potentially unsafe. wpeer->InvalidateRect((nsPluginRect *)invalidRect); ^^^^^^^^^^^^^^^^ Warning 749: "ns4xPlugin.cpp", line 1231 # The cast from '_GdkWindowPrivate *' t o '_GdkWindow *' is performed as a 'reinterpret_cast'. This operation is non-por table and potentially unsafe. gtkXtBinHolder = gtk_xtbin_new(GDK_ROOT_PARENT(),0); ^^^^^^^^^^^^^^^ Warning 749: "ns4xPlugin.cpp", line 1235 # The cast from '_GtkWidget *' to '_Gtk TypeObject *' is performed as a 'reinterpret_cast'. This operation is non-portab le and potentially unsafe. (*(Display **)result) = GTK_XTBIN(gtkXtBinHolder)->xtdisplay; ^^^^^^^^^ (And future references to GTK_XTBIN) Warning 749: "ns4xPlugin.cpp", line 1441 # The cast from '_NPByteRange *' to 'ns ByteRange *' is performed as a 'reinterpret_cast'. This operation is non-portabl e and potentially unsafe. streamlistener->mStreamInfo->RequestRead((nsByteRange *)rangeList); ^^^^^^^^^^^^^^^ Warning 749: "ns4xPluginInstance.cpp", line 941 # The cast from '_GdkVisual *' t o '_GdkVisualPrivate *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. ws->visual = GDK_VISUAL_XVISUAL(gdk_window_get_visual(win)); ^^^^^^^^^^^^^^^^^^ (And future references to GDK_VISUAL_XVISUAL) Warning 749: "ns4xPluginInstance.cpp", line 942 # The cast from '_GdkColormap *' to '_GdkColormapPrivate *' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe. ws->colormap = GDK_COLORMAP_XCOLORMAP(gdk_window_get_colormap(win)); ^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "ns4xPluginInstance.cpp", line 1027 # The cast from 'nsPluginWindow *' to '_NPWindow *' is performed as a 'reinterpret_cast'. This operation is non -portable and potentially unsafe. NS_TRY_SAFE_CALL_RETURN(error, CallNPP_SetWindowProc(fCallbacks- ^^^^^^^^^^^^^^^^^^^^^^^ Warning 749: "ns4xPluginInstance.cpp", line 1088 # The cast from 'nsPluginPrint *' to '_NPPrint *' is performed as a 'reinterpret_cast'. This operation is non-p ortable and potentially unsafe. NPPrint* thePrint = (NPPrint *)platformPrint; ^^^^^^^^^^^ Reproducible: Always Steps to Reproduce: 1. 2. 3.
Comment 1•21 years ago
|
||
-> necko
Assignee: seawood → gordon
Component: Build Config → Networking: Cache
OS: other → HP-UX
QA Contact: granrose → tever
Hardware: Other → HP
Comment 2•21 years ago
|
||
Christopher Seawood wrote:
> -> necko
Why "necko" ? Lots of these warnings are in gfx/, too... ;-/
I've split all the warnings in necko/cache into bug 199981. back to -> browser/general
Assignee: gordon → asa
Component: Networking: Cache → Browser-General
QA Contact: tever → asa
Comment 4•21 years ago
|
||
gordon@netscape.com wrote: > I've split all the warnings in necko/cache into bug 199981. Thanks! :) Can you file another bug for the issues in gfx/ and CC: me, please ?
Updated•20 years ago
|
Product: Browser → Seamonkey
Comment 5•19 years ago
|
||
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
Comment 6•19 years ago
|
||
This bug has been automatically resolved after a period of inactivity (see above comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
You need to log in
before you can comment on or make changes to this bug.
Description
•