in reply to Re: Re: Re: for loop localisation bug?
in thread for loop localisation bug?

Please don't use void main. It's broken, just like double main or union {int x; float y; } **main.

The C standard says: main() must be declared as int main(void) or int main(int, char **) or equivalent (or in some implementation-defined manner, which is inherently unportable). See also http://users.aber.ac.uk/auj/voidmain.shtml.

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: for loop localisation bug?
by BrowserUk (Patriarch) on Dec 30, 2003 at 19:36 UTC

    What can I say? It served its purpose. See you at SeaMonks.com for the follow-up:)


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    Hooray!