1. 15 Aug, 2001 32 commits
  2. 14 Aug, 2001 8 commits
    • sof's avatar
      [project @ 2001-08-14 21:49:00 by sof] · b9f325de
      sof authored
      DocBook catalog: Only prefix hardtop if we end up using a glafp-utils/docbook CATALOG
      b9f325de
    • sof's avatar
      [project @ 2001-08-14 17:14:22 by sof] · 71dea322
      sof authored
      Don't use 'foreign label' to get at prog_arg{v,c}, use
      the RtsAPI-provided getProgArgv().
      71dea322
    • simonmar's avatar
      [project @ 2001-08-14 16:29:56 by simonmar] · eca4400f
      simonmar authored
      Add TyCon.mkLiftedPrimTyCon, solely for RealWorld which is the only
      lifted primitive TyCon.
      eca4400f
    • simonpj's avatar
      [project @ 2001-08-14 16:28:00 by simonpj] · ba7c8891
      simonpj authored
      More wibbles in checking type validity
      ba7c8891
    • simonpj's avatar
      [project @ 2001-08-14 15:37:55 by simonpj] · 2b09da89
      simonpj authored
      Wibbles to the checking-types commit
      2b09da89
    • simonpj's avatar
      [project @ 2001-08-14 15:27:32 by simonpj] · 8731605f
      simonpj authored
      Yet another bug in lub
      8731605f
    • sewardj's avatar
      [project @ 2001-08-14 13:40:07 by sewardj] · bc5c8021
      sewardj authored
      Change the story about POSIX headers in C compilation.
      
      Until now, all C code in the RTS and library cbits has by default been
      compiled with settings for POSIXness enabled, that is:
         #define _POSIX_SOURCE   1
         #define _POSIX_C_SOURCE 199309L
         #define _ISOC9X_SOURCE
      If you wanted to negate this, you'd have to define NON_POSIX_SOURCE
      before including headers.
      
      This scheme has some bad effects:
      
      * It means that ccall-unfoldings exported via interfaces from a
        module compiled with -DNON_POSIX_SOURCE may not compile when
        imported into a module which does not -DNON_POSIX_SOURCE.
      
      * It overlaps with the feature tests we do with autoconf.
      
      * It seems to have caused borkage in the Solaris builds for some
        considerable period of time.
      
      The New Way is:
      
      * The default changes to not-being-in-Posix mode.
      
      * If you want to force a C file into Posix mode, #include as
        the **first** include the new file ghc/includes/PosixSource.h.
        Most of the RTS C sources have this include now.
      
      * NON_POSIX_SOURCE is almost totally expunged.  Unfortunately
        we have to retain some vestiges of it in ghc/compiler so that
        modules compiled via C on Solaris using older compilers don't
        break.
      bc5c8021
    • simonmar's avatar
      [project @ 2001-08-14 11:41:19 by simonmar] · b19d9770
      simonmar authored
      Fix example code in the generics section.
      b19d9770