Re: [AD] END_OF_MAIN removal patch for msvc

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On November 18, 2008, Evert Glebbeek wrote:
> On 18 Nov 2008, at 09:52, Thomas Fjellstrom wrote:
> > The first one isn't valid C ;)
>
> Since when?
> I think you're thinking of "void main(...)"

I'm pretty sure C wants you to have argc and argv in there. I know gcc has no 
problems with (void), but that doesn't make it proper.

> Evert
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/