XPCOMGC/nsCOMPtr rewrite

From MozillaWiki
Jump to navigation Jump to search

This page is totally work-in-progress

  • The XPCOMGC work is being based off the actionmonkey tree
hg clone http://hg.mozilla.org/actionmonkey src
cd src
python client.py checkout
  • Patches are being kept in an mqueue repository.
    • Enable mqueue in your ~/.hgrc:
[extensions]
hgext.mq =
    • Pull the repository
hg clone ssh://hg.mozilla.org/users/bsmedberg_mozilla.com/xpcomgc-patches .hg/patches

For the stack-nsCOMPtr work, don't apply the xpcomgcbase.patch patch:

hg qgoto temps-rules.patch

Notes

  • It may be necessary to configure with --disable-pedantic
  • It will probably be necessary to disable warnings-as-errors
make WARNINGS_AS_ERRORS=