openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel Janík <Pa...@Janik.cz>
Subject Re: svn commit: r1482736 - /openoffice/trunk/main/sal/inc/rtl/string.hxx
Date Thu, 16 May 2013 06:25:10 GMT
>> -			n += 4*n + *(p++);
>> +			n += 4*n + *static_cast<unsigned char*>(p++);
> 
> This breaks on Linux:
> 
> Compiling: sal/osl/unx/file.cxx
> 
> In file included from ../../inc/rtl/ustring.hxx:33:0,
>                 from ../../inc/osl/file.hxx:33,
>                 from sal/osl/unx/file.cxx:27:
> ../../inc/rtl/string.hxx: In member function 'size_t rtl::CStringHash::operator()(const
char*) const':
> ../../inc/rtl/string.hxx:950:47: error: invalid static_cast from type 'const char*' to
type 'unsigned char*'
> dmake:  Error code 1, while making '../../unxlngx6/obj/file.obj'
> ERROR: error 65280 occurred while making sal/osl/unx

The same with gcc version 4.0.1 (Apple Inc. build 5494).
-- 
Pavel Janík




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Mime
View raw message