The TRY_XS_INT_CONVERT should probably be more like:

        #define TRY_XS_INT_CONVERT(target, value, xs_type)                      
   \
          {                                                                     
   \
            XS_TYPE const res( value );                                         
   \
            try {                                                               
   \
              target = to_xs_int(res);                                          
   \
            } catch (std::range_error const&) {                                 
   \
              throw XQUERY_EXCEPTION(err::FODT0002, 
ERROR_PARAMS(res.toString())); \
            }                                                                   
   \
          }
-- 
https://code.launchpad.net/~nbrinza/zorba/bugs2/+merge/155778
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
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