Hi Celto!

2011/10/10 cel tix44 <celti...@gmail.com>:
> Veit
> Thanks a lot, very much appreciated.

You are welcome!

> I've tested the vc6-fixes-working branch and out of the box, VC6 throws just
> one error -- when compiling SegmentInfos.cpp:
> .... error C2593: 'operator <<' is ambiguous
> which happens on this line:
> .... (*infoStream) << "[SIS]: directory listing genA=" << genA << "\n";
> In my previous post, I used (int32_t) as a stopgap:
> (*infoStream) << "[SIS]: directory listing genA=" << (int32_t)genA << "\n";

My mistake. Missed that.

> Microsoft suggests this:
> #ifdef _MSC_VER
> #if _MSC_VER == 1200
> std::ostream& operator<<(std::ostream& os, __int64 i ) // borrowed from
> http://support.microsoft.com/kb/168440
> {
>     char buf[20];
>     sprintf(buf,"%I64d", i );
>     os << buf;
>     return os;
> }
> #endif
> #endif
> With either of the 2 fixes above, both CLUCENE_CORE and CLUCENE_SHARED
> compile okay.

I will then integrate the later one.

> Thanks again for your time & effort.
> Could you advise whether VC6 fixes will live in the branch you created -- or
> will they be merged into master?

At least they will stay in this branch. In my opinion, they can be
merged into master. But I don't know what the others think about this.
Any thoughts?

Kind regards,

Veit

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to