{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreic7rkaoyeoc7qnf5mrgxbtzv3c7s3qgvv4tpszeybvq6h22op3svi",
    "uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mjjms743il72"
  },
  "path": "/t/wasm-warning-return-type-of-main-is-not-int-wmain-return-type/13932#post_2",
  "publishedAt": "2026-04-15T09:22:01.000Z",
  "site": "https://discourse.haskell.org",
  "tags": [
    "the Matrix room",
    "@TerrorJack"
  ],
  "textContent": "> But it feels like a GHC bug..maybe it is and I should cut GHC gitlab a ticket? But I figured I’d ask the crowd first\n\nIn general, for little things like this with the Wasm backend, where you don’t want to jump straight in to opening a GHC ticket, I’d ask in the Matrix room.\n\nAnyway, I don’t think I’ve seen this warning before, but I am now mostly using Haskell.nix for Wasm builds instead of the official flake. @TerrorJack might know.",
  "title": "[wasm] `warning: return type of 'main' is not 'int' ' [-Wmain-return-type]`"
}