Open dpreed opened 5 years ago
I am unable to reproduce this. What version of gcc
are you running?
Here's the version of gcc.
gcc --version
gcc (GCC) 8.2.1 20181215 (Red Hat 8.2.1-6)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
And heres the part of the test log regarding Issue 7:
...
c2hs: Prelude.head: empty list
Issue #7: [Failed]
ERROR:
Ran commands:
cd /home/david/c2hs/tests/bugs/issue-7
rm -f /home/david/c2hs/tests/bugs/issue-7/Issue7.hs
rm -f /home/david/c2hs/tests/bugs/issue-7/Issue7.chs.h
rm -f /home/david/c2hs/tests/bugs/issue-7/Issue7.chi
c2hs Issue7.chs
which c2hs
Exception: HUnitFailure (Just (SrcLoc {srcLocPackage = "main", srcLocModule = "Main", srcLocFile = "tests/test-bugs.hs", srcLocStartLine = 447, srcLocStartCol = 12, srcLocEndLine = 447, srcLocEndCol = 37})) (Reason "")
That's pretty odd. Unfortunately I don't have a Fedora 29 distribution at my disposal so I'm unable to reproduce but I'll leave it open in case someone else does.
I can poke at it a bit more.
-----Original Message----- From: "deech" notifications@github.com Sent: Friday, January 18, 2019 4:33pm To: "haskell/c2hs" c2hs@noreply.github.com Cc: "David P. Reed" dpreed@deepplum.com, "Author" author@noreply.github.com Subject: Re: [haskell/c2hs] Has issue #7 come back? (#231)
That's pretty odd. Unfortunately I don't have a Fedora 29 distribution at my disposal so I'm unable to reproduce but I'll leave it open in case someone else does. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or mute the thread .)
I built C2HS using GHC 8.6.3 on my Fedora 29 system. When I ran the tests, in "test-bugs" issue 7 failed. I can't figure out why it fails - the issue was closed long ago. Is this expected behavior?