[Haskell-cafe] Cabal v misses changes to cxx-files: files?
merijn at inconsistent.nl
Fri Jun 25 08:31:36 UTC 2021
Word of warning: The support for C++ in both cabal and GHC is currently at a level were it cannot be sanely used.
You can use it in the "mad cackling, slowly losing your mind too Lovecraftian horrors"-way, but if you care about things like "actually using the right C++ compiler" or "using the same C++ stdlib your other code was built with", you are as the professionals put it SOL.
> On 24 Jun 2021, at 14:47, Mikolaj Konarski <mikolaj at well-typed.com> wrote:
> HI David,
> It wouldn't hurt to try a newer cabal. I know a similar problem with
> `extra-source-files` has been fixed recently.
> If it still doesn't work in cabal 3.4, please search the issues and
> file one or add a suitable emoji to an existing one.
> On Thu, Jun 24, 2021 at 2:30 PM David Banas <capn.freako at gmail.com> wrote:
>> Using Cabal v126.96.36.199 and with the following stanza in my *.cabal file:
>> executable ex9
>> import: shared-properties
>> main-is: src/ex/ex9.hs
>> cxx-sources: src/ex/ex9.cpp
>> if I edit the file: `src/ex/ex9.cpp`, and then execute: `cabal build`, I'm told:
>> $ cabal build
>> Up to date
>> Is this a known issue?
>> Is there a workaround?
>> Haskell-Cafe mailing list
>> To (un)subscribe, modify options or view archives go to:
>> Only members subscribed via the mailman list are allowed to post.
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Message signed with OpenPGP
More information about the Haskell-Cafe