[Xapian-tickets] [Xapian] #631: Compilation error in Xapian::Database::get_spelling_suggestion

Xapian nobody at xapian.org
Mon Jan 6 22:53:55 GMT 2014


#631: Compilation error in Xapian::Database::get_spelling_suggestion
------------------------+----------------------------
 Reporter:  dmichelsen  |             Owner:  olly
     Type:  defect      |            Status:  new
 Priority:  normal      |         Milestone:
Component:  Other       |           Version:  1.3.1
 Severity:  normal      |        Resolution:
 Keywords:              |        Blocked By:
 Blocking:              |  Operating System:  Solaris
------------------------+----------------------------
\
\
\
\
\
\

Comment (by olly):

 It used to be that Sun's compiler didn't cope with the code in the first
 case, but if you look around that line now, you'll see it's only used if
 {{{__SUNPRO_CC < 0x580}}} - according to the !ChangeLog I tested with 5.8
 back in 2010 and it worked.

 But the code in the second case compiled before, so perhaps this isn't
 related to that previous issue with Sun's compiler.

 A cast won't help here - we can't cast the iterator objects to another
 type.

 Do you know if Sun's implementation of the standard C++ library has
 improved?  We currently force use of stlport4, but maybe that's now
 actually unhelpful now...
\
\
\

--
Ticket URL: <http://trac.xapian.org/ticket/631#comment:1>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list