following error while using nsIHttpAuthManager.idl.h

Vikas Pushkar <[email protected]> Tue, 16 Jun 2015 23:53:57 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <[email protected]>
In file included from ./nsIHttpAuthManager.idl.h:10:
In file included from /Developer/SDKs/xulrunner-sdk/include/nsISupports.h:10:
In file included from /Developer/SDKs/xulrunner-sdk/include/nsrootidl.h:11:
In file included from /Developer/SDKs/xulrunner-sdk/include/nscore.h:50:
/Developer/SDKs/xulrunner-sdk/include/mozilla/mozalloc.h:229:12: error: use of undeclared identifier 'moz_xmalloc'
    return moz_xmalloc(size);
           ^
/Developer/SDKs/xulrunner-sdk/include/mozilla/mozalloc.h:232:21: warning: replacement function 'operator new' cannot be declared 'inline' [-Winline-new-delete]
MOZALLOC_EXPORT_NEW MOZALLOC_INLINE
                    ^
/Developer/SDKs/xulrunner-sdk/include/mozilla/mozalloc.h:76:27: note: expanded from macro 'MOZALLOC_INLINE'
#  define MOZALLOC_INLINE inline
                          ^
/Developer/SDKs/xulrunner-sdk/include/mozilla/mozalloc.h:235:12: error: use of undeclared identifier 'moz_malloc'
    return moz_malloc(size);
           ^
/Developer/SDKs/xulrunner-sdk/include/mozilla/mozalloc.h:238:21: warning: replacement function 'operator new[]' cannot be declared 'inline' [-Winline-new-delete]
MOZALLOC_EXPORT_NEW MOZALLOC_INLINE
                    ^
/Developer/SDKs/xulrunner-sdk/include/mozilla/mozalloc.h:76:27: note: expanded from macro 'MOZALLOC_INLINE'
#  define MOZALLOC_INLINE inline
                          ^
/Developer/SDKs/xulrunner-sdk/include/mozilla/mozalloc.h:239:7: error: exception specification in declaration does not match previous declaration
void* operator new[](size_t size) MOZALLOC_THROW_BAD_ALLOC
      ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/new:136:30: note: previous declaration is here
_LIBCPP_NEW_DELETE_VIS void* operator new[](std::size_t __sz)
                             ^


I can see that moose_xalloc function is in libmozalloc.dylib but don't know why it is not taking it.

please help!!!