Benjamin Smedberg wrote:
Shouldn't I be able to do this, and have xpidl find this file automatically? Or do I always have to specify -I /pathtoSDK/xpcom/idl on the xpidl commandline?If you're within the make system, you need to specify XPCOM in your REQUIRES list. The build system will then automatically pickup the correct include directories and thus pickup nsISupports. And you only need to specify the include of the file, with no path:
#include "nsISupports.idl"
Checkout some of the Makefile.in files to see how this is done.
