EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: -Werror=implicit-function-declaration by default?
From: Michael Davidsaver via Core-talk <core-talk at aps.anl.gov>
To: "Akeroyd, Freddie (STFC,RAL,ISIS)" <freddie.akeroyd at stfc.ac.uk>
Cc: "EPICS core-talk \(core-talk at aps.anl.gov\)" <core-talk at aps.anl.gov>
Date: Tue, 22 Dec 2020 09:14:11 -0800
I pushed this change a few hours ago.

https://github.com/epics-base/epics-base/commit/b49f06916ea5db0ac9b8928dea58ef2177222424

On 12/22/20 9:09 AM, Akeroyd, Freddie (STFC, RAL, ISIS) via Core-talk wrote:
> Hi,
> 
> Sometimes windows seems to have C functions declared in different headers to linux, adding    -we4013    to the Visual studio   WARN_CFLAGS_YES   should catch any missing declarations from such cases

Seems like a good idea.  I think the corresponding place to add this for MSVC would be:

https://github.com/epics-base/epics-base/blob/b49f06916ea5db0ac9b8928dea58ef2177222424/configure/os/CONFIG.win32-x86.win32-x86#L40



> Regards,
> 
> Freddie
> 
>> -----Original Message-----
>> From: Core-talk <core-talk-bounces at aps.anl.gov> On Behalf Of Zimoch Dirk
>> (PSI) via Core-talk
>> Sent: 21 December 2020 06:35
>> To: EPICS Core Talk <core-talk at aps.anl.gov>
>> Subject: Re: -Werror=implicit-function-declaration by default?
>>
>> +1
>> Dirk
>>
>>> Am 20.12.2020 um 18:10 schrieb Ralph Lange via Core-talk <core-
>> talk at aps.anl.gov>:
>>>
>>>
>>> +1
>>> Go ahead!
>>>
>>> ~Ralph
> 
> This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation (UKRI) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UKRI does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to UKRI business are solely those of the author and do not represent the views of UKRI.
> 


References:
-Werror=implicit-function-declaration by default? Michael Davidsaver via Core-talk
Re: -Werror=implicit-function-declaration by default? Johnson, Andrew N. via Core-talk
Re: -Werror=implicit-function-declaration by default? Ralph Lange via Core-talk
Re: -Werror=implicit-function-declaration by default? Zimoch Dirk (PSI) via Core-talk
RE: -Werror=implicit-function-declaration by default? Akeroyd, Freddie (STFC, RAL, ISIS) via Core-talk

Navigate by Date:
Prev: RE: -Werror=implicit-function-declaration by default? Akeroyd, Freddie (STFC, RAL, ISIS) via Core-talk
Next: Appveyor Settings for the 3.15 (and 7.0) branch builds Johnson, Andrew N. via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: RE: -Werror=implicit-function-declaration by default? Akeroyd, Freddie (STFC, RAL, ISIS) via Core-talk
Next: Build failed: EPICS Base 3.15 base-3.15-27 AppVeyor via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 22 Dec 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·