EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Build of seq-2.1.15 with VS 2010 fails.
From: Andrew Johnson <[email protected]>
To: "Heesterman, Peter J" <[email protected]>
Cc: [email protected]
Date: Thu, 19 Dec 2013 10:54:41 -0600
On 12/19/2013 05:37 AM, Heesterman, Peter J wrote:
> I have built seq-2.1.15 recently (VS2010), and experienced a similar problem.
> 
> The variable needs to be defined as epicsShareExtern - see attached file.

I haven't tried building this code on Windows, but I actually think the
variable should be marked epicsShareDef in the seq_if.c file where it is
defined, and epicsShareExtern in any header file that declares it.  The
rules for the various epicsShare* markers are explained in comments at
the top of the shareLib.h file; marking the seq_if.c version as
epicsShareExtern would be telling the compiler that the variable is
defined in some *other* file, but here it is actually being given a
value so this must be the definition (and hence epicsShareDef).

- Andrew
-- 
Advertising may be described as the science of arresting the human
intelligence long enough to get money from it. -- Stephen Leacock

Replies:
RE: Build of seq-2.1.15 with VS 2010 fails. Mark Rivers
References:
Re: Build of seq-2.1.15 with VS 2010 fails. Benjamin Franksen
RE: Build of seq-2.1.15 with VS 2010 fails. Heesterman, Peter J

Navigate by Date:
Prev: New sequencer release fixes build problem on Windows Benjamin Franksen
Next: RE: Design strategies for CSS BOY screens Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: New sequencer release fixes build problem on Windows Benjamin Franksen
Next: RE: Build of seq-2.1.15 with VS 2010 fails. Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·