delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
X-Received: | by 2002:a05:600c:4f8a:: with SMTP id n10mr9104655wmq.11.1624827178390; |
Sun, 27 Jun 2021 13:52:58 -0700 (PDT) | |
From: | =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= <HBBroeker AT t-online DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Allegro library would need to be recompiled with -fgnu89-inline ? |
Date: | Sun, 27 Jun 2021 22:52:57 +0200 |
Lines: | 11 |
Message-ID: | <ijs6p9Fhp1rU1@mid.dfncis.de> |
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> | |
<17a4a690e82 DOT ad5bda6d47674 DOT 7543348174997411766 AT zoho DOT com> | |
<c2e16d46-e247-3a22-b2c5-2d0391e7623a AT partition-saving DOT com> | |
Mime-Version: | 1.0 |
X-Trace: | news.dfncis.de 0csXcZ0qgB3xWyBUxv0sSglUTo26ebjxaOhHPcojUUBgLNb5wkO+v5Tkdt |
Cancel-Lock: | sha1:8p8IUuDTv4WXVCGA7MDf3DGU0mc= |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 |
Thunderbird/78.11.0 | |
In-Reply-To: | <c2e16d46-e247-3a22-b2c5-2d0391e7623a@partition-saving.com> |
Bytes: | 1839 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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 |
Am 27.06.2021 um 18:07 schrieb Damien Guibouret: > Using -fcommon is certainly not the correct correction (but could be a > workaround for old programs with a lot of occurence of this problem), > but adding extern or static depending on if the variable should be > shared or not is better. Adding 'static' into a header is hardly ever the right solution. The rules of thumb are: never write 'extern' in a *.c file, and never 'static' in a *.h file.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |