[Git][ghc/ghc][wip/T21986] 2 commits: testsuite: Mark encoding004 as broken on FreeBSD

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Wed Aug 10 21:26:13 UTC 2022



Ben Gamari pushed to branch wip/T21986 at Glasgow Haskell Compiler / GHC


Commits:
2d936b7d by Ben Gamari at 2022-08-10T17:25:37-04:00
testsuite: Mark encoding004 as broken on FreeBSD

Due to #22003.

- - - - -
79360482 by Ben Gamari at 2022-08-10T17:25:58-04:00
rts/linker: Fix non-prototype declaration warnings

- - - - -


2 changed files:

- libraries/base/tests/IO/all.T
- rts/Linker.c


Changes:

=====================================
libraries/base/tests/IO/all.T
=====================================
@@ -115,7 +115,7 @@ test('encoding001', [], compile_and_run, [''])
 
 test('encoding002', normal, compile_and_run, [''])
 test('encoding003', normal, compile_and_run, [''])
-test('encoding004', extra_files(['encoded-data/']), compile_and_run, [''])
+test('encoding004', [when(opsys('freebsd'), expect_broken(22003)), extra_files(['encoded-data/'])], compile_and_run, [''])
 test('encoding005', normal, compile_and_run, [''])
 
 test('environment001', [], makefile_test, ['environment001-test'])


=====================================
rts/Linker.c
=====================================
@@ -99,12 +99,12 @@
  */
 
 #if defined(freebsd_HOST_OS)
-extern void iconvctl();
-extern void iconv_open_into();
-extern void iconv_open();
-extern void iconv_close();
-extern void iconv_canonicalize();
-extern void iconv();
+extern void iconvctl(void);
+extern void iconv_open_into(void);
+extern void iconv_open(void);
+extern void iconv_close(void);
+extern void iconv_canonicalize(void);
+extern void iconv(void);
 #endif
 
 /*



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/62839fbdb0fc50d07c0b5c9edff633bc8c407bd0...793604823a7a00677816ee6fe9ef83ac3765fc21

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/62839fbdb0fc50d07c0b5c9edff633bc8c407bd0...793604823a7a00677816ee6fe9ef83ac3765fc21
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20220810/52d30175/attachment-0001.html>


More information about the ghc-commits mailing list