delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2021/06/26/18:20:56

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
ARC-Seal: i=1; a=rsa-sha256; t=1624746043; cv=none;
d=zohomail.com; s=zohoarc;
b=CPugRQ06+oivUl/EJ8bci7lIuJHEfj6UnZnyw/ZC4uNP0I8J31MjJh2C9R9NLXYx63G4sWqP8YbwNiIi7CgKt9wgTeLCyCoSh9Lk+0nOaTm6/xhyVYngLl1XBBQGovdQ68ZsQpeE57gn9X81V+XJ2wZNoXzPpOIK0Hs40yO295E=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc;
t=1624746043; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To;
bh=oTfK0Hsgt0d+QtXyO3rf8fUOWi0Ljdh0Tf5Q7QRWCU8=;
b=hy2EZfiPIUnPLJr57Vl5wGcxiZdisC38XrMlBlqjGnW5st/ow5CcpIgmdemMzEdsxjkRtU2WxGZW72fKH8UHlh+dvzDqVYYyE/fdH2fbemITcTxWkcGS9eJkjHmyDnA7y5CilLRYiJa2E1QkiHF5ykAMLiB3DRquvl+VMmtilmQ=
ARC-Authentication-Results: i=1; mx.zohomail.com;
dkim=pass header.i=zoho.com;
spf=pass smtp.mailfrom=dufresnep AT zoho DOT com;
dmarc=pass header.from=<dufresnep AT zoho DOT com>
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=zapps768; d=zoho.com;
h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent;
b=GZmiyhZZCU+PphsAaqsx3tO8vPFS1tDVWdMiUdwMCQupU0Wu39deC4nYxSvP+Mqdc++uxlm1tOzc
MV1zLKAS/9WGByP0B4+2vDeaYv2oboNzubGfXLltZmg75WEfIBvy
X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1624746043;
s=zm2020; d=zoho.com; i=dufresnep AT zoho DOT com;
h=Date:From:To:Cc:Message-Id:In-Reply-To:References:Subject:MIME-Version:Content-Type;
bh=oTfK0Hsgt0d+QtXyO3rf8fUOWi0Ljdh0Tf5Q7QRWCU8=;
b=OkszWo0JoD4OdGroyfqlscrhvJ2tJEt8/5aYJn0vp7vMIIA8YPEZgxrXEKTLLWrn
wTDneUGpP+fFwVFNH/KbkNZKPUrMZejta8phzPOJw46mWA1T9fYMyHVCPZF4GJ5l7sk
X55tfKbDmqtyMq+L9Qzu2MTWnRHq3zK9xYubK4tU=
Date: Sat, 26 Jun 2021 18:20:36 -0400
From: "Paul Dufresne (dufresnep AT zoho DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
To: "djgpp" <djgpp AT delorie DOT com>
Cc: "freedos-devel" <freedos-devel AT lists DOT sourceforge DOT net>
Message-Id: <17a4a690e82.ad5bda6d47674.7543348174997411766@zoho.com>
In-Reply-To: <17a49890ca6.123f188ed46443.7177863653080197011@zoho.com>
References: <17a309c6725 DOT ee2b33335838 DOT 5210672258564129766 AT zoho DOT com> <CAN1+P_3bouS5PbTdc6jJBKW=zdabEE2-zy5c1F=jR+F+3Tz0eA AT mail DOT gmail DOT com> <17a30b8508b DOT eceb84066270 DOT 6146636058200994488 AT zoho DOT com> <17a49890ca6 DOT 123f188ed46443 DOT 7177863653080197011 AT zoho DOT com>
Subject: Re: Allegro library would need to be recompiled with -fgnu89-inline
?
MIME-Version: 1.0
Importance: Medium
User-Agent: Zoho Mail
X-Mailer: Zoho Mail
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

------=_Part_132632_1752859932.1624746036866
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit

I now think that adding "external" before declarations in .h is the correct solution.

If they were not mark static already, it is that the value is expected to be shared (being global).

The solution is *I now think* to add external, and have the real declaration in a unique place, like in main.c.
------=_Part_132632_1752859932.1624746036866
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>I now think that adding "external" before declarations in .h is the correct solution.<br></div><div>If they were not mark static already, it is that the value is expected to be shared (being global).<br></div><div>The solution is *I now think* to add external, and have the real declaration in a unique place, like in main.c.<br></div></div><br></body></html>
------=_Part_132632_1752859932.1624746036866--

- Raw text -


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