This is the current build output on windows (trunk revision 10758). Need
to check if some of the warnings can be fixed easily.

** Changed in: zorba
       Status: New => In Progress

** Attachment added: "build output on windows"
   
https://bugs.launchpad.net/zorba/+bug/866725/+attachment/3059822/+files/output.txt

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/866725

Title:
  Warnings in the Runtime

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  In Zorba, there is some chaos with the types of length variables. They
  have the type xqp_long, xqp_ulong, long, ulong, etc.. Therefore, the
  following warnings are shown if I compile zorba on windows:

  src\runtime\sequences\sequences_impl.cpp(477) : warning C4244: '=' : 
conversion from 'double' to 'zorba::xqp_long', possible loss of data
  src\runtime\sequences\sequences_impl.cpp(482) : warning C4244: '=' : 
conversion from 'double' to 'zorba::xqp_long', possible loss of data
  src\runtime\collections\collections_impl.cpp(1165) : warning C4244: 
'argument' : conversion from 'zorba::xqp_ulong' to 'ulong', possible loss of 
data

  src\runtime\core\var_iterators.cpp(341) : warning C4244: 'argument' : 
conversion from 'zorba::xqp_long' to 'ulong', possible loss of data
  src\runtime\core\var_iterators.cpp(378) : warning C4244: '=' : conversion 
from 'zorba::xqp_long' to 'ulong', possible loss of data
  src\runtime\core\var_iterators.cpp(379) : warning C4244: '=' : conversion 
from 'zorba::xqp_long' to 'ulong', possible loss of data
  src\runtime\core\var_iterators.cpp(630) : warning C4244: 'argument' : 
conversion from 'zorba::xqp_long' to 'ulong', possible loss of data
  src\runtime\core\var_iterators.cpp(656) : warning C4244: 'argument' : 
conversion from 'zorba::xqp_long' to 'ulong', possible loss of data
  src\runtime\core\var_iterators.cpp(735) : warning C4244: 'argument' : 
conversion from 'zorba::xqp_long' to 'ulong', possible loss of data
  src\runtime\core\var_iterators.cpp(755) : warning C4244: '=' : conversion 
from 'zorba::xqp_long' to 'ulong', possible loss of data
  src\runtime\core\var_iterators.cpp(756) : warning C4244: '=' : conversion 
from 'zorba::xqp_long' to 'ulong', possible loss of data

  
  src\store\naive\loader_fast.cpp(218) : warning C4244: 'return' : conversion 
from 'std::streamsize' to 'long', possible loss of data
  src\store\naive\loader_dtd.cpp(221) : warning C4244: 'return' : conversion 
from 'std::streamsize' to 'long', possible loss of data
  src\store\naive\loader_dtd.cpp(273) : warning C4244: 'initializing' : 
conversion from 'std::streamoff' to 'size_t', possible loss of data

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/866725/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to