hsc2hs feature request

Hello, I don't know if it's the place for that but I've got a problem with hsc2hs. In the C output file, it produces a main function of type int main (void) I think, it would be better to produce int main (int argc, char *argv []) It could seem not important, but with some C libs (for example SDL on OS X) that overwrite the main function with their main function and redirect main to SDL_main, it creates problems. (I've got a conflicting type with declaration which disappears if I correct this). Best regards, Nicolas Oury

In local.glasgow-haskell-users, you wrote:
In the C output file, it produces a main function of type int main (void) I think, it would be better to produce int main (int argc, char *argv [])
Fixed in CVS, thanks! -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME rage against the finite state machine
participants (2)
-
Nicolas Oury
-
Volker Stolz