I'm trying to build a scriptable plugin (linux) but can't get a clean compilation.
I have generated a header file with XPIDL, included it in my source and compiled. My tactic from here is to add files to the compilation as the compiler complains of there absence. I think this is too simplistic!
For example, nslSupportsImpl.h has a conditional compilation, conditional on XPCOM_GLUE. By default, this leads to the inclusion of nsTraceRefcnt.h which doesn't exist. The alternative leads to an overwhelming list of errors.
So.
1) Should XPCOM_GLUE be defined or not, and are there any others I should be aware of?
2) How do I know I'm including the right headers?


Many Thanks,
Phil

--
--------------------------------------
Advanced System Architectures,
Bentley Hall North, Blacknest,
Alton,
Hampshire GU34 4PU
U.K.

Work: +44 1420 546101
Home: +44 1420 89805
Fax:  +44 1420 549907

[EMAIL PROTECTED]
www.asa.co.uk
--------------------------------------




Reply via email to