<div dir="ltr">Hey,<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 19, 2015 at 7:55 PM, Ashod Nakashian <span dir="ltr"><<a href="mailto:ashnakash@gmail.com" target="_blank">ashnakash@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey Markus,<br>
<span class=""><br>
On Mon, Jan 19, 2015 at 10:54 AM, Markus Mohrhard<br>
<<a href="mailto:markus.mohrhard@googlemail.com">markus.mohrhard@googlemail.com</a>> wrote:<br>
> Hey,<br>
><br>
> On Mon, Jan 19, 2015 at 4:33 PM, Ashod Nakashian <<a href="mailto:ashnakash@gmail.com">ashnakash@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Anyone know why Jenkins sometimes throws this error?<br>
>><br>
>><br>
>> C:/cygwin/home/tdf/lode/jenkins/workspace/lo_gerrit_master/Gerrit/Gerrit/Platform/Windows/shell/source/win32/shlxthandler/util/utilities.cxx(110)<br>
>> : error C2220: warning treated as error - no 'object' file generated<br>
><br>
><br>
> If you would have quoted the whole text you would have seen the error<br>
> yourself:<br>
<br>
</span>Right, and I suspected that. But, as Michael noted, this is unrelated<br>
to my patch. And I had seen it before, and it works in subsequent<br>
build attempts.<br>
<br>
Also odd was that I Gerrit wouldn't give me a rebase option, even<br>
though I knew I was behind. I rebased manually, pushed and build<br>
started.<br>
<br>
Build failed on Windows at another point, while Linux passed.<br>
<br>
[multiple import warnings]<br>
test_ToxTextGenerator.o : warning LNK4217: locally defined symbol<br>
??1SwForm@@QAE@XZ (public: __thiscall SwForm::~SwForm(void)) imported<br>
in function "public: void __thiscall<br>
ToxTextGeneratorTest::ChapterNumberWithTitleIsGeneratedForNumberNoPrepst(void)"<br>
(?ChapterNumberWithTitleIsGeneratedForNumberNoPrepst@ToxTextGeneratorTest@@QAEXXZ)<br>
make[2]: Leaving directory<br>
'C:/cygwin/home/tdf/lode/jenkins/workspace/lo_gerrit_master/Gerrit/Gerrit/Platform/Windows'<br>
Makefile:246: recipe for target 'build' failed<br>
<br><br></blockquote></div><br><br></div><div class="gmail_extra">Nah, that is about some of the unit test which do some stufffor which MSVC issues a warning. If you go up in the log you find the test failure that results in the build failure:<br><br><pre class="">Test name: Test_TextEffects_InStyleXml::Import_Export_Import
An uncaught exception of type com.sun.star.task.ErrorCodeIOException
- SfxBaseModel::impl_store <<a>file:///C:/cygwin/tmp/luhd0w7j.tmp</a>> failed: 0x507

Failures !!!
Run: 18 Failure total: 1 Failures: 0 Errors: 1

Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE # for exception catching
export CPPUNITTRACE=""[full path to devenv.exe]" /debugexe" # for interactive debugging in Visual Studio
export VALGRIND=memcheck # for memory checking

and retry using: make CppunitTest_sw_ooxmlw14export</pre><br></div></div>