Admin message

Due to a large amount of spam we do not allow new users to create repositories, they are "external" users. If you are a new user and want to create a repository, for example for forking GHC, open a new issue on ghc/ghc using the "get-verified" issue template

hpc and CPP don't mix on Windows
Originaly reported by Dominic Steinitz here: http://www.haskell.org/pipermail/glasgow-haskell-users/2009-July/017511.html On Windows, with these files: CommonHPC.hs: ``` module Main (main) where import Common main = do test test test = do putStrLn $ show $ fact 4 putStrLn $ show $ fact 5 ``` Common.hs: ``` module Common (fact) where fact 0 = 1 fact n = n * fact (n-1) ``` This works: ``` $ ghc -fhpc --make CommonHPC $ ./CommonHPC $ cat CommonHPC.exe.tix Tix [ TixModule "Main" 693125724 18 [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], TixModule "Common" 4136915291 8 [2,9,9,9,9,9,9,11]] ``` but with `-cpp` we get no ticks for Common: ``` $ ghc -fhpc --make CommonHPC -cpp $ ./CommonHPC $ cat CommonHPC.exe.tix Tix [ TixModule "Main" 693125724 18 [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], TixModule "Common" 3370079577 0 []] ``` <details><summary>Trac metadata</summary> | Trac field | Value | | ---------------------- | ------------- | | Version | 6.10.4 | | Type | Bug | | TypeOfFailure | OtherFailure | | Priority | normal | | Resolution | Unresolved | | Component | Code Coverage | | Test case | | | Differential revisions | | | BlockedBy | | | Related | | | Blocking | | | CC | | | Operating system | | | Architecture | | </details> <!-- {"blocked_by":[],"summary":"hpc and CPP don't mix on Windows","status":"New","operating_system":"","component":"Code Coverage","related":[],"milestone":"6.12.1","resolution":"Unresolved","owner":{"tag":"OwnedBy","contents":"andy@galois.com"},"version":"6.10.4","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"Originaly reported by Dominic Steinitz here: http://www.haskell.org/pipermail/glasgow-haskell-users/2009-July/017511.html\r\n\r\nOn Windows, with these files:\r\n\r\nCommonHPC.hs:\r\n{{{\r\nmodule Main (main) where\r\n\r\nimport Common\r\n\r\nmain = do\r\n test\r\n test\r\n\r\ntest = do\r\n putStrLn $ show $ fact 4\r\n putStrLn $ show $ fact 5\r\n}}}\r\n\r\nCommon.hs:\r\n{{{\r\nmodule Common (fact) where\r\n\r\nfact 0 = 1\r\nfact n = n * fact (n-1)\r\n}}}\r\n\r\nThis works:\r\n{{{\r\n$ ghc -fhpc --make CommonHPC\r\n$ ./CommonHPC\r\n$ cat CommonHPC.exe.tix\r\nTix [ TixModule \"Main\" 693125724 18 [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], TixModule \"Common\" 4136915291 8 [2,9,9,9,9,9,9,11]]\r\n}}}\r\n\r\nbut with `-cpp` we get no ticks for Common:\r\n{{{\r\n$ ghc -fhpc --make CommonHPC -cpp\r\n$ ./CommonHPC\r\n$ cat CommonHPC.exe.tix\r\nTix [ TixModule \"Main\" 693125724 18 [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], TixModule \"Common\" 3370079577 0 []]\r\n}}}\r\n","type_of_failure":"OtherFailure","blocking":[]} -->
issue