Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Re: Re: for loop localisation bug?

by Anonymous Monk
on Dec 30, 2003 at 15:51 UTC ( #317700=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: Re: Re: Re: for loop localisation bug?
Select or Download Code
Replies are listed 'Best First'.
Re: Re: Re: Re: Re: for loop localisation bug?
by BrowserUk (Pope) 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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://317700]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2015-07-08 06:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (96 votes), past polls