XPCOMGC/nsCOMPtr rewrite: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Document the XPCOMGC patchset)
 
mNo edit summary
 
Line 15: Line 15:
** Pull the repository
** Pull the repository


  hg clone ssh://hg.mozilla.org/users/bsmedberg_mozilla.com/xpcomgc-patches .hg./patches
  hg clone ssh://hg.mozilla.org/users/bsmedberg_mozilla.com/xpcomgc-patches .hg/patches


For the stack-nsCOMPtr work, don't apply the <code>xpcomgcbase.patch</code> patch:
For the stack-nsCOMPtr work, don't apply the <code>xpcomgcbase.patch</code> patch:

Latest revision as of 20:28, 9 October 2007

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=