Bug 131591

Summary: libreoffice 6.4.2.2 clang error: 'sc::opencl::OpAverage' is an incomplete type
Product: LibreOffice Reporter: Mark Wright <gienah>
Component: LibreOfficeAssignee: Mark Wright <gienah>
Status: RESOLVED INSUFFICIENTDATA    
Severity: normal CC: xiscofauli
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: libreoffice-6.4.2.2-clang.patch

Description Mark Wright 2020-03-26 07:19:42 UTC
Description:
[...]/libreoffice-6.4.2.2/sc/source/core/opencl/formulagroupcl.cxx:1340:14: error: 'sc::opencl::OpAverage' is an incomplete type
        if (!dynamic_cast<OpAverage*>(mpCodeGen.get()))
             ^           ~~~~~~~~~~~~
[...]/libreoffice-6.4.2.2/sc/source/core/opencl/formulagroupcl.cxx:1029:7: note: forward declaration of 'sc::opencl::OpAverage'
class OpAverage;

Steps to Reproduce:
1. On Gentoo linux compile all C++ dependencies with clang
2. With clang 10.0.0: emerge app-office/libreoffice


Actual Results:
It fails to compile with clang 10.0.0 with the error above.

Expected Results:
It should compile with clang 10.0.0 (it compiles fine with gcc).


Reproducible: Always


User Profile Reset: No



Additional Info:
https://bugs.gentoo.org/713574
Comment 1 Mark Wright 2020-03-26 07:24:11 UTC
Created attachment 159024 [details]
libreoffice-6.4.2.2-clang.patch

I will submit a patch for review.
Comment 2 Xisco Faulí 2020-05-13 11:52:26 UTC
Hello Mark,
Could you please submit the patch to gerrit for review. You have the info on how to do it here: https://wiki.documentfoundation.org/Development/gerrit/SubmitPatch

Assigning this issue to you
Comment 3 Xisco Faulí 2021-03-31 14:16:13 UTC
Hello Mark Wright,
is this issue still reproducible in the master branch ?
Comment 4 QA Administrators 2021-09-28 05:17:11 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2021-10-29 03:49:59 UTC
Dear Mark Wright,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp