Missing includes

Lorenzo Bertini lorenzobertini97 at gmail.com
Mon Nov 18 09:47:57 UTC 2024


It has occurred to me that something is wrong with this build because to
have multiple definitions of functions, so I must be including things
twice, once where I shouldn't. This is probably it. I'll report back once I
figure this out.

Thanks for the help,
Lorenzo

Il giorno lun 18 nov 2024 alle ore 10:41 Lorenzo Bertini <
lorenzobertini97 at gmail.com> ha scritto:

> I'm on GCC 14, Fedora 41. C++ standard is set to C++17. I call it with a
> meson.build like this:
>
> sources = [ 'DockView.cpp', ... ]
>
> ui_files = [ 'ui/AboutUi.ui', ... ]
>
> moc_headers = [ 'Action.h', ... ]
>
> ui_headers = qt_mod.compile_ui(sources: ui_sources)
> moc_sources = qt_mod.compile_moc(headers: moc_headers)
>
> lyxqt = static_library(
>   'lyxqt',
>   sources, moc_sources, ui_headers,
>   dependencies: [qt_dep],
>   include_directories: [root_dir, src_dir, frontends_dir, nod_dir],
>   cpp_args: qt_cppflags + ['-DQT_NO_CAST_TO_ASCII'],
> )
>
> Il giorno lun 18 nov 2024 alle ore 10:35 Pavel Sanda <sanda at lyx.org> ha
> scritto:
>
>> nOn Mon, Nov 18, 2024 at 10:04:57AM +0100, Lorenzo Bertini wrote:
>> > I have included everything in the patch. When I look at those errors,
>> the
>> > fix seems like a best practice to me, this is why I'm proposing the
>> > changes. Also, I can't figure how can CMake and Autotools still finish
>> the
>> > build.
>>
>> I am surprised that you need those changes, e.g. TempFile.
>> What compiler you use and how you call it? What OS you are on?
>>
>> Pavel
>> --
>> lyx-devel mailing list
>> lyx-devel at lists.lyx.org
>> https://lists.lyx.org/mailman/listinfo/lyx-devel
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20241118/4d586b6a/attachment-0001.htm>


More information about the lyx-devel mailing list