Permalink
Browse files

Bump version to 0.28.3, upgrade to language-c-0.7.1.

Add test for _Float128 parsing.
  • Loading branch information...
deech committed Nov 25, 2017
1 parent 0a3f2f2 commit e5b1d84682a3f80721cc57e654feef6287cada36
Showing with 14 additions and 3 deletions.
  1. +2 −0 ChangeLog
  2. +2 −2 c2hs.cabal
  3. +1 −1 src/C2HS/Version.hs
  4. +3 −0 tests/bugs/issue-192/Issue192.chs
  5. +2 −0 tests/bugs/issue-192/issue-192.h
  6. +4 −0 tests/test-bugs.hs
View
@@ -1,3 +1,5 @@
0.28.3
- Switch to language-c 0.7.1 [#192]
0.28.2
- Switch to language-c 0.6 [#176]
0.28.1
View
@@ -1,5 +1,5 @@
Name: c2hs
Version: 0.28.2
Version: 0.28.3
License: GPL-2
License-File: COPYING
Copyright: Copyright (c) 1999-2007 Manuel M T Chakravarty
@@ -112,7 +112,7 @@ flag base3
Executable c2hs
Build-Depends: base >= 2 && < 5,
bytestring,
language-c >= 0.7 && < 0.8,
language-c >= 0.7.1 && < 0.8,
filepath,
dlist
View
@@ -10,7 +10,7 @@ versnum :: Version
name = "C->Haskell Compiler"
versnum = Paths_c2hs.version
versnick = "Switcheroo"
date = "1 April 2016"
date = "25 November 2017"
version = name ++ ", version " ++ showVersion versnum ++ " " ++ versnick ++ ", " ++ date
copyright = "Copyright (c) 1999-2007 Manuel M T Chakravarty\n"
++ " 2005-2008 Duncan Coutts\n"
@@ -0,0 +1,3 @@
module Issue192 where
#include "issue-192.h"
@@ -0,0 +1,2 @@
extern int __fpclassifyf128 (_Float128 __value) __attribute__ ((__nothrow__ , __leaf__))
__attribute__ ((__const__));
View
@@ -93,6 +93,7 @@ tests =
, testCase "Issue #152" issue152
, testCase "Issue #155" issue155
, testCase "Issue #180" issue180
, testCase "Issue #192" issue192
] ++
-- Some tests that won't work on Windows.
if os /= "cygwin32" && os /= "mingw32"
@@ -113,6 +114,9 @@ call_capital = c2hsShelly $ chdir "tests/bugs/call_capital" $ do
let expected = ["upper C();", "lower c();", "upper C();"]
liftIO $ assertBool "" (T.lines res == expected)
issue192 :: Assertion
issue192 = hs_only_build_issue 192
issue180 :: Assertion
issue180 = c2hsShelly $ chdir "tests/bugs/issue-180" $ do
mapM_ rm_f ["Issue180.chs.h"]

0 comments on commit e5b1d84

Please sign in to comment.