Skip to content

Use C++ fields for C++ files#17

Merged
prolic merged 1 commit intoprolic:masterfrom
cblp:patch-4
Sep 2, 2025
Merged

Use C++ fields for C++ files#17
prolic merged 1 commit intoprolic:masterfrom
cblp:patch-4

Conversation

@cblp
Copy link
Copy Markdown

@cblp cblp commented Sep 1, 2025

Fix

Warning: The following files listed in the main library's c-sources do not
have the expected '.c' extension
HsQML/dist-newstyle/build/aarch64-osx/ghc-9.6.7/hsqml-0.3.6.1/build/cbits/moc_Canvas.cpp,
HsQML/dist-newstyle/build/aarch64-osx/ghc-9.6.7/hsqml-0.3.6.1/build/cbits/moc_ClipboardHelper.cpp,
HsQML/dist-newstyle/build/aarch64-osx/ghc-9.6.7/hsqml-0.3.6.1/build/cbits/moc_Engine.cpp,
HsQML/dist-newstyle/build/aarch64-osx/ghc-9.6.7/hsqml-0.3.6.1/build/cbits/moc_HighDpiScaling.cpp,
HsQML/dist-newstyle/build/aarch64-osx/ghc-9.6.7/hsqml-0.3.6.1/build/cbits/moc_Manager.cpp,
HsQML/dist-newstyle/build/aarch64-osx/ghc-9.6.7/hsqml-0.3.6.1/build/cbits/moc_Model.cpp.
C++ files should be in the 'cxx-sources' stanza.
See
https://cabal.readthedocs.io/en/3.10/cabal-package.html#pkg-field-cxx-sources

@cblp
Copy link
Copy Markdown
Author

cblp commented Sep 1, 2025

I don't know what's wrong with appveyor. It's better to re-check after fixing C++ warnings #20

@prolic
Copy link
Copy Markdown
Owner

prolic commented Sep 1, 2025

I don't know what's wrong with appveyor. It's better to re-check after fixing C++ warnings #20

It seems like linking is broken on Windows builds. Maybe it's because of this?

HsQML/Setup.hs

Line 199 in ded7e5c

(map ((bDir </>) . flip replaceExtension objExtension) $ cSources bi))

@prolic prolic merged commit dafe798 into prolic:master Sep 2, 2025
7 checks passed
@cblp cblp deleted the patch-4 branch February 10, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants