EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: building 3.14.8.2 on win32-x86
From: "Dale L. Brewe" <[email protected]>
To: [email protected]
Date: Fri, 17 Mar 2006 18:01:52 -0600
I found one thing that Visual C 6 does not like in dbMapper.cc:

for ( int i=0; i < db->no_str; i++ ) {
        enumStringTable.getString ( i,
            &(db->strs[i][0]), MAX_ENUM_STRING_SIZE );
        }
        for ( int i = db->no_str; i < MAX_ENUM_STATES; i++ ) {
                db->strs[i][0] = '\0';
    }

It complains that the two "int i" statements are a multiple declaration I believe. Changing the second i to a j removes the error.

I'm curious whether anyone else has tried to build w/ Visual C 6 and encountered this problem, or if there is something unique about my environment???

dale brewe

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Dale L. Brewe
 PNC-CAT/Argonne National Laboratory

ph: 630 252 0582 fax: 630 252 0580
Mail:
Argonne National Laboratory
Bldg 435E sector 20
9700 S. Cass Ave.
Argonne, IL 60439
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Replies:
RE: building 3.14.8.2 on win32-x86 Jeff Hill

Navigate by Date:
Prev: Fwd: problem building 3.14.8.2 with win32-x86 Dale L. Brewe
Next: Pure virtual mode called kimkh
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Fwd: problem building 3.14.8.2 with win32-x86 Dale L. Brewe
Next: RE: building 3.14.8.2 on win32-x86 Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·