Re: [AD] END_OF_MAIN removal patch for msvc |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] END_OF_MAIN removal patch for msvc
- From: Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx>
- Date: Tue, 18 Nov 2008 08:01:22 -0700
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