[Libreoffice-bugs] [Bug 119699] New: Wrong include directory for chart2/source/view/{axes, charttypes}
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Sep 4 18:14:05 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=119699
Bug ID: 119699
Summary: Wrong include directory for
chart2/source/view/{axes,charttypes}
Product: LibreOffice
Version: 6.2.0.0.alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Chart
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: kelemeng at ubuntu.com
CC: vmiklos at collabora.co.uk
While working on https://gerrit.libreoffice.org/#/c/59956/ I noticed that IWYU
gives wrong results and errors about files not found:
$ include-what-you-use -Wall -DBOOST_ERROR_CODE_HEADER_ONLY
-DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DLINUX -DOSL_DEBUG_LEVEL=1
-DSAL_LOG_INFO -DSAL_LOG_WARN -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT
-DLIBO_INTERNAL_ONLY -I/home/gabor/src/core/external/boost/include
-I/home/gabor/src/core/workdir/UnpackedTarball/boost
-I/home/gabor/src/core/include -I/usr/lib/jvm/java-11-openjdk-amd64/include
-I/usr/lib/jvm/java-11-openjdk-amd64/include/linux
-I/home/gabor/src/core/config_host
-I/home/gabor/src/core/chart2/source/controller/inc
-I/home/gabor/src/core/chart2/source/inc -I/home/gabor/src/core/chart2/inc
-I/home/gabor/src/core/workdir/UnoApiHeadersTarget/udkapi/normal
-I/home/gabor/src/core/workdir/UnoApiHeadersTarget/offapi/normal
-finput-charset=UTF-8 -fmessage-length=0 -fno-common -pipe
-fvisibility-inlines-hidden -fPIC -std=gnu++1y -c -x c++
/home/gabor/src/core/chart2/source/view/axes/Tickmarks.hxx
In file included from
/home/gabor/src/core/chart2/source/view/axes/Tickmarks.hxx:22:
/home/gabor/src/core/chart2/source/view/axes/TickmarkProperties.hxx:23:10:
fatal error: 'VLineProperties.hxx' file not found
#include <VLineProperties.hxx>
^~~~~~~~~~~~~~~~~~~~~
$ include-what-you-use -Wall -DBOOST_ERROR_CODE_HEADER_ONLY
-DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DLINUX -DOSL_DEBUG_LEVEL=1
-DSAL_LOG_INFO -DSAL_LOG_WARN -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT
-DLIBO_INTERNAL_ONLY -I/home/gabor/src/core/external/boost/include
-I/home/gabor/src/core/workdir/UnpackedTarball/boost
-I/home/gabor/src/core/include -I/usr/lib/jvm/java-11-openjdk-amd64/include
-I/usr/lib/jvm/java-11-openjdk-amd64/include/linux
-I/home/gabor/src/core/config_host
-I/home/gabor/src/core/chart2/source/controller/inc
-I/home/gabor/src/core/chart2/source/inc -I/home/gabor/src/core/chart2/inc
-I/home/gabor/src/core/workdir/UnoApiHeadersTarget/udkapi/normal
-I/home/gabor/src/core/workdir/UnoApiHeadersTarget/offapi/normal
-finput-charset=UTF-8 -fmessage-length=0 -fno-common -pipe
-fvisibility-inlines-hidden -fPIC -std=gnu++1y -c -x c++
/home/gabor/src/core/chart2/source/view/charttypes/BarChart.hxx
/home/gabor/src/core/chart2/source/view/charttypes/BarChart.hxx:24:10: fatal
error: 'VSeriesPlotter.hxx' file not found
#include <VSeriesPlotter.hxx>
^~~~~~~~~~~~~~~~~~~~
The problem affects only these two directories, and not
chart2/source/view/main.
Here the problem is this include directory specification:
-I/home/gabor/src/core/chart2/source/controller/inc
The correct one would be:
-I/home/gabor/src/core/chart2/source/view/inc
Since this contains the "not found" files. Manually editing the above command
lines makes IWYU find all files and work as usual.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180904/67b8316d/attachment.html>
More information about the Libreoffice-bugs
mailing list