EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: extern "C" { #include <...> }
From: Andrew Johnson <[email protected]>
To: Eric Norum <[email protected]>
Cc: EPICS core-talk <[email protected]>
Date: Thu, 8 Sep 2011 17:40:32 -0500
Hi Eric,

On 2011-09-08 Eric Norum wrote:
> Maybe at some point one or more targets didn't have the proper C++ externs
>  in one or more of the included files? I agree that it makes more sense to
>  have the extern"C" wrapper around only the contents of the osdSock.h
>  files.

That was my assumption.  In most cases I can delete the wrapper completely, 
although there are a couple where it's needed lower down (did you know the 
RTEMS version of osdSock.h declares select()?).

I have the changes ready to commit if people agree, but haven't tested them on 
Windows.

- Andrew
-- 
Optimization is the process of taking something that works and
replacing it with something that almost works, but costs less.
-- Roger Needham

References:
extern "C" { #include <...> } Andrew Johnson
Re: extern "C" { #include <...> } Eric Norum

Navigate by Date:
Prev: Re: extern "C" { #include <...> } Eric Norum
Next: RE: extern "C" { #include <...> } Jeff Hill
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: extern "C" { #include <...> } Eric Norum
Next: RE: extern "C" { #include <...> } Jeff Hill
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·