1. 20 Aug, 2003 10 commits
  2. 19 Aug, 2003 13 commits
    • krc's avatar
      [project @ 2003-08-19 22:09:09 by krc] · 662cb69b
      krc authored
      External Core programs sometimes contain newtype declarations with no
      data constructors. GHC expected every newtype declaration to have at
      least one data constructor, so it would previously fail with an "empty list"
      error if you tried to compile such a program. These declarations are handled
      properly now.
      662cb69b
    • krc's avatar
      [project @ 2003-08-19 22:04:54 by krc] · a465e8bd
      krc authored
      Added correct parsing of external calls. External calls are assumed to be
      static C calls, but this assumption should always hold since compiling to
      External Core will fail for programs that contain any other kind of
      external call.
      
      Added correct parsing of the null-pointer literal (0::GHCziPrim.Addrzh) --
      this caused an "unknown integer literal type" error before.
      a465e8bd
    • krc's avatar
      [project @ 2003-08-19 22:03:04 by krc] · 5c15e80b
      krc authored
      Changed outputForeignStubs to check whether stub files from a previous
      compilation still exist (in the case where no new stubs exist). This is
      necessary to compile External Core programs that require these stubs.
      5c15e80b
    • krc's avatar
      [project @ 2003-08-19 21:59:40 by krc] · 0f9750be
      krc authored
      Two issues:
      
      1. According to the spec for External Core, datatype declarations are required
      to have at least one data constructor. Previously, if you tried to generate
      External Core for a program containing a datatype declaration with no
      constructors, generating the Core file would succeed, but compiling it would
      result in a parse error. Changed MkExternalCore to signal an error if such
      a declaration is encountered while compiling to External Core.
      
      2. Previously, MachLabel literals were translated into Externals when compiling
      to External Core. This is wrong -- such literals are not foreign calls and
      can't be handled in the same way (compiling any External Core code generated
      from code containing literals resulting from "foreign label" declarations would
      result in a strange error message). There doesn't seem to be any way to
      correctly represent these labels in External Core, so MkExternalCore now
      signals an error if one of these is encountered as well.
      0f9750be
    • simonmar's avatar
      [project @ 2003-08-19 16:32:23 by simonmar] · f3c159a9
      simonmar authored
      setlocale(LC_ALL,""), to enable the locale support in libc.
      f3c159a9
    • simonmar's avatar
      [project @ 2003-08-19 16:31:40 by simonmar] · 58ce8140
      simonmar authored
      Check for locale.h and wctype.h
      58ce8140
    • panne's avatar
      [project @ 2003-08-19 15:41:19 by panne] · a186b5b9
      panne authored
      Nuked FPTOOLS_MSGHDR_MSG_ACCRIGHTS and FPTOOLS_MSGHDR_MSG_CONTROL
      tests. Use autoconf's own macros for dealing with struct members.
      a186b5b9
    • panne's avatar
      [project @ 2003-08-19 14:22:14 by panne] · 6b4abadb
      panne authored
      Death to the acconfig.h hack!
      6b4abadb
    • panne's avatar
      [project @ 2003-08-19 12:42:39 by panne] · da8f39a9
      panne authored
      Well, we really need autoconf 2.52...
      da8f39a9
    • panne's avatar
      [project @ 2003-08-19 12:35:47 by panne] · fdbc4fd7
      panne authored
      Expand the (a bit faulty) definition of AC_MSG_FAILURE, which is only
      available since autoconf 2.57. Thanks to Don for pointing this out.
      fdbc4fd7
    • panne's avatar
      [project @ 2003-08-19 09:39:48 by panne] · 8cb18884
      panne authored
      To ease autoheader's job, add description for USE_QUARTZ_OPENGL.
      8cb18884
    • panne's avatar
      [project @ 2003-08-19 09:25:34 by panne] · 0d9152af
      panne authored
      Renamed FP_ALTZONE to FP_DECL_ALTZONE
      0d9152af
    • panne's avatar
      [project @ 2003-08-19 09:23:08 by panne] · 6a0b7a2f
      panne authored
      Revamped FPTOOLS_PROG_DIFF
      6a0b7a2f
  3. 18 Aug, 2003 17 commits