maintainer-feedback requested: [Bug 225129] editors/openoffice-4: fails to build with clang 6.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jan 13 08:34:42 UTC 2018
Jan Beich <jbeich at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to office at FreeBSD.org:
Bug 225129: editors/openoffice-4: fails to build with clang 6.0
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225129
--- Description ---
FreeBSD -CURRENT plans to update base Clang to 6.0.0 soon. While testing this
port failed to build.
vcl/unx/generic/app/wmadaptor.cxx:2525:85: error: non-constant-expression
cannot be narrowed from type 'sal_Int32' (aka 'int') to 'unsigned long' in
initializer list [-Wc++11-narrowing]
XTextProperty aClientProp = { (unsigned char*)aWmClient.getStr(),
XA_STRING, 8, aWmClient.getLength() };
^~~~~~~~~~~~~~~~~~~~~
vcl/unx/generic/app/wmadaptor.cxx:2525:85: note: insert an explicit cast to
silence this issue
XTextProperty aClientProp = { (unsigned char*)aWmClient.getStr(),
XA_STRING, 8, aWmClient.getLength() };
^~~~~~~~~~~~~~~~~~~~~
static_cast<unsigned long>( )
connectivity/source/parse/PColumn.cxx:176:156: error: reinterpret_cast from
'nullptr_t' to 'sal_Bool *' (aka 'unsigned char *') is not allowed
registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_FUNCT
ION),
PROPERTY_ID_FUNCTION, 0,
&m_bFunction, ::getCppuType(reinterpret_cast<
sal_Bool*>(NULL)));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connectivity/source/parse/PColumn.cxx:177:171: error: reinterpret_cast from
'nullptr_t' to 'sal_Bool *' (aka 'unsigned char *') is not allowed
registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_AGGRE
GATEFUNCTION),
PROPERTY_ID_AGGREGATEFUNCTION, 0, &m_bAggregateFunction,
::getCppuType(reinterpret_cast< sal_Bool*>(NULL)));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connectivity/source/parse/PColumn.cxx:178:159: error: reinterpret_cast from
'nullptr_t' to '::rtl::OUString *' is not allowed
registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TABLE
NAME),
PROPERTY_ID_TABLENAME, 0,
&m_aTableName, ::getCppuType(reinterpret_cast<
::rtl::OUString*>(NULL)));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connectivity/source/parse/PColumn.cxx:179:156: error: reinterpret_cast from
'nullptr_t' to '::rtl::OUString *' is not allowed
registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_REALN
AME),
PROPERTY_ID_REALNAME, 0,
&m_aRealName, ::getCppuType(reinterpret_cast<
::rtl::OUString*>(NULL)));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connectivity/source/parse/PColumn.cxx:180:180: error: reinterpret_cast from
'nullptr_t' to 'sal_Bool *' (aka 'unsigned char *') is not allowed
registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_DBASE
PRECISIONCHANGED),
PROPERTY_ID_DBASEPRECISIONCHANGED, 0, &m_bDbasePrecisionChanged,
::getCppuType(reinterpret_cast<sal_Bool*>(NULL)));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connectivity/source/parse/PColumn.cxx:181:176: error: reinterpret_cast from
'nullptr_t' to 'sal_Bool *' (aka 'unsigned char *') is not allowed
registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_ISSEA
RCHABLE),
PROPERTY_ID_ISSEARCHABLE, 0,
&m_bIsSearchable, ::getCppuType(reinterpret_cast< sal_Bool*>(NULL)));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connectivity/source/parse/PColumn.cxx:182:162: error: reinterpret_cast from
'nullptr_t' to '::rtl::OUString *' is not allowed
registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_LABEL
),
PROPERTY_ID_LABEL,
0, &m_sLabel, ::getCppuType(reinterpret_cast<
::rtl::OUString*>(NULL)));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connectivity/source/parse/PColumn.cxx:268:99: error: reinterpret_cast from
'nullptr_t' to 'sal_Bool *' (aka 'unsigned char *') is not allowed
PropertyAttribute::READONLY, const_cast< sal_Bool* >( &m_bAscending ),
::getCppuType( reinterpret_cast< sal_Bool* >( NULL ) ) );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
connectivity/source/parse/PColumn.cxx:270:103: error: reinterpret_cast from
'nullptr_t' to '::rtl::OUString *' is not allowed
PropertyAttribute::READONLY, const_cast< ::rtl::OUString* >(
&m_sTableName ), ::getCppuType(reinterpret_cast< ::rtl::OUString*>(NULL)));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To reproduce:
$ poudriere jail -cj clang6-amd64 -a amd64 -v projects/clang600-import -m
svn+https
$ poudriere bulk -Ctj clang6-amd64 editors/openoffice-4
More information about the freebsd-office
mailing list