Ticket #1187 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

gtk2hsC2hs fails to resolve --include when given paths with spaces.

Reported by: guest Owned by: somebody
Priority: normal Milestone: 0.11.0
Component: C2Hs (Gtk2Hs fork) Version: 0.11.0
Keywords: Cc: fryguybob@…

Description

When building pango with cabal it appears to remove spaces from the passed --include resulting in not finding .chi files that exist in the passed paths. My gtk2hsC2hs reports its version as 0.13.4. Attached is the build log.

Attachments

c2hs-cpp-fix.dpatch (18.0 kB) - added by duncan 4 years ago.
Darcs patch "Fix handling of cpp flags. Allows dirs with spaces."
c2hs-incpath-fix.dpatch (19.9 kB) - added by duncan 4 years ago.
Fix behaviour of -i flag for windows paths

Change History

Changed 4 years ago by duncan

Darcs patch "Fix handling of cpp flags. Allows dirs with spaces."

Changed 4 years ago by duncan

The attached patch is totally untested beyond checking it compiles. That said, it follows the approach taken in mainline c2hs so I expect it'll work (bar any possible typos).

Changed 4 years ago by duncan

Fix behaviour of -i flag for windows paths

Changed 4 years ago by axel

  • status changed from new to closed
  • resolution set to fixed

Ups, I fixed that myself the other day, sorry Duncan!

Note: See TracTickets for help on using tickets.