Re: compiler warnings when building OpenOffice

2016-09-06 Thread Don Lewis
On 1 Sep, Don Lewis wrote: > 493 -Wunused-private-field > 391 -Wunused-parameter > 366 -Wunused-const-variable > 314 -Woverloaded-virtual > 181 -Wunused-variable > 109 -Wlogical-op-parentheses > 93 -Wsign-compare > 77 -Wdelete-non-virtual-dtor > 72 -Wint-to-void-pointer-cast > 63

Re: compiler warnings when building OpenOffice

2016-09-04 Thread Patricia Shanahan
On 9/4/2016 3:45 PM, Patricia Shanahan wrote: On 9/1/2016 4:00 PM, Don Lewis wrote: On 1 Sep, Patricia Shanahan wrote: I need a problem to work on. Would you like me to take a particular compiler warning and try to sort it out? Here is one:

Re: compiler warnings when building OpenOffice

2016-09-04 Thread Patricia Shanahan
On 9/1/2016 4:00 PM, Don Lewis wrote: On 1 Sep, Patricia Shanahan wrote: I need a problem to work on. Would you like me to take a particular compiler warning and try to sort it out? Here is one:

Re: compiler warnings when building OpenOffice

2016-09-01 Thread Don Lewis
On 1 Sep, To: Don Lewis wrote: > One of the -Wunused-parameter warnings led me to this questionable bit > of code in filter/source/xsltfilter/containerhelper.hxx: > > template > inline void forEachMem(FuncType pFunc, ParamType aParam) const > { > forEach(

Re: compiler warnings when building OpenOffice

2016-09-01 Thread Don Lewis
On 1 Sep, Patricia Shanahan wrote: > I need a problem to work on. Would you like me to take a particular > compiler warning and try to sort it out? Here is one: /wrkdirs/usr/ports/editors/openoffice-devel2/work/aoo-4.2.0/main/solver/420/unxfbsdx.pro/inc/osl/diagnose.hxx:65:25: warning:

Re: compiler warnings when building OpenOffice

2016-09-01 Thread Patricia Shanahan
I need a problem to work on. Would you like me to take a particular compiler warning and try to sort it out? On 9/1/2016 3:29 PM, Don Lewis wrote: On 29 Aug, Don Lewis wrote: When building OpenOffice trunk revsion r1758161 as a FreeBSD port on FreeBSD 12.0-CURRENT with clang 3.8.0, I get the

Re: compiler warnings when building OpenOffice

2016-09-01 Thread Don Lewis
On 29 Aug, Don Lewis wrote: > When building OpenOffice trunk revsion r1758161 as a FreeBSD port on > FreeBSD 12.0-CURRENT with clang 3.8.0, I get the following warnings. > I'm mostly interested in the OpenOffice code and not the bundled > external code, so I specifically built the FreeBSD port it

Re: compiler warnings when building OpenOffice

2016-08-30 Thread Don Lewis
On 30 Aug, Don Lewis wrote: > On 30 Aug, Kay Schenk wrote: >> >> >> On 08/29/2016 04:14 PM, Don Lewis wrote: >>> A couple -Wtautological-undefined-compare warnings: >>> >>> warning: reference cannot be bound to dereferenced null pointer in >>> well-defined C++ code; comparison may be assumed

Re: compiler warnings when building OpenOffice

2016-08-30 Thread Don Lewis
On 30 Aug, Kay Schenk wrote: > > > On 08/29/2016 04:14 PM, Don Lewis wrote: >> When building OpenOffice trunk revsion r1758161 as a FreeBSD port on >> FreeBSD 12.0-CURRENT with clang 3.8.0, I get the following warnings. >> I'm mostly interested in the OpenOffice code and not the bundled >>

Re: compiler warnings when building OpenOffice

2016-08-30 Thread Kay Schenk
On 08/29/2016 04:14 PM, Don Lewis wrote: > When building OpenOffice trunk revsion r1758161 as a FreeBSD port on > FreeBSD 12.0-CURRENT with clang 3.8.0, I get the following warnings. > I'm mostly interested in the OpenOffice code and not the bundled > external code, so I specifically built the

Re: compiler warnings when building OpenOffice

2016-08-29 Thread Don Lewis
On 29 Aug, Don Lewis wrote: > When building OpenOffice trunk revsion r1758161 as a FreeBSD port on > FreeBSD 12.0-CURRENT with clang 3.8.0, I get the following warnings. > I'm mostly interested in the OpenOffice code and not the bundled > external code, so I specifically built the FreeBSD port it