VirtualBox

Changeset 51167 in vbox for trunk/src/libs


Ignore:
Timestamp:
Apr 29, 2014 1:28:53 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
93519
Message:

libs/xpcom: Add dummy constructor, destructors for working around Solaris GCC, Sun linker issues.

Location:
trunk/src/libs/xpcom18a4/xpcom
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/components/nsIServiceManagerUtils.h

    r1 r51167  
    8888            // nothing else to do
    8989        }
     90    // Implement a dummy destructor to workaround linking issue on Solaris gcc 4.8.2 (see @bugref{5838})
     91    ~nsGetServiceByContractID() {}
    9092   
    9193    virtual nsresult NS_FASTCALL operator()( const nsIID&, void** ) const;
  • trunk/src/libs/xpcom18a4/xpcom/reflect/xptcall/public/xptcall.h

    r24637 r51167  
    226226    NS_IMETHOD QueryInterface(REFNSIID aIID, void** aInstancePtr);
    227227
     228    // Implement dummy constructor, destructor to workaround Solaris gcc 4.8.2
     229    // linking issue (see @bugref{5838}).
     230    nsXPTCStubBase() {}
     231    ~nsXPTCStubBase() {}
     232
    228233    // Include generated vtbl stub declarations.
    229234    // These are virtual and *also* implemented by this class..
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette