Re: Build error on Windows

From: Hub Figuière <hfiguiere_at_teaser.fr>
Date: Wed Feb 29 2012 - 20:33:31 CET

On 29/02/12 11:25 AM, Lubos Pintes wrote:
>
> Sorry I forgot to add this one:
> 1>..\..\src\af\util\xp\ut_std_string.cpp(393) : error C3861: 'strptime':
> identifier not found

This function isn't in the Windows C library. Can somebody file a bug in
bugzilla (or better provide a patch). This needs to block 3.0.

> Also, this warning is generated many times:
> src\text\ptbl\xp\pd_DocumentRDF.h(232) : warning C4181: qualifier
> applied to reference type; ignored
> What about to disable warning 4181?

I'd rather have the warning fixed.
line 232, instead of
    bool operator!=( const self_reference other )
it should be
    bool operator!=( const self_constref other )
I haven't tried as we don't get the warning on gcc. But if that works
for you then this should be the fix.

A warning has a purpose. Disabling it is just wrong.

Hub
Received on Wed Feb 29 20:33:49 2012

This archive was generated by hypermail 2.1.8 : Wed Feb 29 2012 - 20:33:49 CET