According to Fallen, this is likely fallout from bug 794477.
Many of these kind:
c:\tools\msvs10\vc\include\xutility(3412) : warning C4273: 'std::moz_Xruntime_error' : inconsistent dll linkage
e:\builds\moz2_slave\tb-try-c-cen-w32\build\objdir-tb\mozilla\dist\include\mozilla\msvc_raise_wrappers.h(30) : see previous definition of 'moz_Xruntime_error'
And then these:
e:/builds/moz2_slave/tb-try-c-cen-w32/build/calendar/base/src/calDateTime.cpp(636) : error C2660: 'js_DateIsValid' : function does not take 2 arguments
e:/builds/moz2_slave/tb-try-c-cen-w32/build/calendar/base/src/calDateTime.cpp(641) : error C2660: 'js_DateGetMsecSinceEpoch' : function does not take 2 arguments
e:/builds/moz2_slave/tb-try-c-cen-w32/build/calendar/base/src/calDateTime.cpp(641) : fatal error C1903: unable to recover from previous error(s); stopping compilation
It is caused by Bug 793076 that removed the second parameter from that functions with todays checkin.
Created attachment 669119 [details] [diff] [review]
Fix - v1
Looks like I was coding against an old version of the API, or I have no idea why it was compiling. I've just updated mozilla-central, did a full rebuild and with these changes it works.
(In reply to Stefan Sitter from comment #1)
> It is caused by Bug 793076 that removed the second parameter from that
> functions with todays checkin.
Ah ok, then I wasn't all wrong :-P Stefan, if you'd like to review this patch instead feel free to!
Pushed to comm-central changeset ae6b83c2a3c0