hsc2hs feature request

Nicolas Oury Nicolas.Oury@lri.fr
Mon, 19 May 2003 16:47:49 +0200


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