test/unit/string_test failing on Windows

Bug #866933 reported by Gabriel Petrovay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Triaged
Medium
Paul J. Lucas

Bug Description

Failing because:
_DEBUG_ERROR("string iterator not dereferencable");

Revision history for this message
Gabriel Petrovay (gabipetrovay) wrote :

Commented out in:
test\unit\CMakeLists.txt:60

Revision history for this message
Markos Zaharioudakis (markos-za) wrote :

This is old. I am not sure if it is still failing. But please take a look.

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

Does this still fail? If so, I need more details of what the error actually is.

Revision history for this message
Gabriel Petrovay (gabipetrovay) wrote :

Now failing because:

Scanning dependencies of target UnitTests
[ 89%] Building CXX object test/unit/CMakeFiles/UnitTests.dir/UnitTests.obj
UnitTests.cpp
[ 89%] Building CXX object test/unit/CMakeFiles/UnitTests.dir/string_test.obj
string_test.cpp
zorba\src\util\curl_util.h(154) : warning C4355: 'this' : used in base member initializer list
zorba\src\util\curl_util.h(155) : warning C4355: 'this' : used in base member initializer list
zorba\src\util\utf8_util.tcc(93) : warning C4273: 'zorba::utf8::next_char' : inconsistent dll linkage
        zorba\src\util\utf8_util_base.h(152) : see previous definition of 'next_char'
Linking CXX executable UnitTests.exe
zorba_simplestore.lib(zorba_simplestore.dll) : error LNK2005: "int __cdecl zorba::utf8::next_char<char const *>(char const * &)" (??$next_char@PBD@utf8@zorba@@YAHAAPBD@Z) already d
efined in string_test.obj
   Creating library UnitTests.lib and object UnitTests.exp
UnitTests.exe : fatal error LNK1169: one or more multiply defined symbols found
LINK Pass 1 failed. with 2
NMAKE : fatal error U1077: '"C:\Program Files\CMake 2.8\bin\cmake.exe"' : return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.

Revision history for this message
Gabriel Petrovay (gabipetrovay) wrote :

Posponed for after Zorba 2.0

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

Corrected status. This is is no way a higher-than-normal priority bug.

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

Marked with Resolution = None at Dana's request.

Changed in zorba:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.