delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/30/18:29:38

Date: Tue, 30 Dec 1997 15:29:19 -0800 (PST)
Message-Id: <199712302329.PAA23754@adit.ap.net>
Mime-Version: 1.0
To: "A. Sinan Unur" <sinan DOT unur AT cornell DOT edu>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Puzzled:Allegro Code

At 10:37  12/29/1997 -0500, A. Sinan Unur wrote:

>one question: would it be better to explicitly declare the argument and
>return types for the dummy function as void instead of relying on
>default behavior? probably doesn't make a difference, but ...
It doesn't make a difference. Allegro only looks at the address of the
XXX_end label to find how much to lock. It makes no difference what code the
compiler may actually generate. The only *possible* advantage I can think of
is to avoid warnings that the compiler may someday issue. It's a one-line
fix anyway.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019