Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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
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 romping around the Monastery: (11)
As of 2014-11-26 11:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (167 votes), past polls