Bug 131591 - libreoffice 6.4.2.2 clang error: 'sc::opencl::OpAverage' is an incomplete type
Summary: libreoffice 6.4.2.2 clang error: 'sc::opencl::OpAverage' is an incomplete type
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-26 07:19 UTC by Mark Wright
Modified: 2021-10-29 03:50 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
libreoffice-6.4.2.2-clang.patch (38.16 KB, patch)
2020-03-26 07:24 UTC, Mark Wright
Details

Note You need to log in before you can comment on or make changes to this bug.
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