EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  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  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Compiling Channel Archiver version 2
From: Kay-Uwe Kasemir <[email protected]>
To: "'EPICS Tech Talk'" <[email protected]>
Date: Mon, 15 Aug 2005 16:15:59 -0400
Hi:


On Aug 15, 2005, at 16:02, Robert Henning wrote:
.../../../../include/string2cp.h:16:36: macro "LOG_MSG" passed 3
arguments, but takes just 1
...
.../../../../include/string2cp.h:16: `LOG_MSG' undeclared (first use this
function)
.../../../../include/string2cp.h:16: (Each undeclared identifier is
reported
only once for each function it appears in.)
.../CtrlInfo.cpp:194:64: macro "LOG_MSG" passed 2 arguments, but takes
just 1

For some reason the compiler uses a LOG_MSG macro in your case, even though the file Tools/MsgLogger.h of the archiver sources declares it as a printf-style function:

void LOG_MSG(const char *format, ...);

Are you using modified sources that
patch a #define for LOG_MSG into the sources?
Is your compiler's search path setup such that it
somehow finds another definition for LOG_MSG?

-Kay


References:
Compiling Channel Archiver version 2 Robert Henning

Navigate by Date:
Prev: Compiling Channel Archiver version 2 Robert Henning
Next: RE: Compiling Channel Archiver version 2 Robert Henning
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Compiling Channel Archiver version 2 Robert Henning
Next: RE: Compiling Channel Archiver version 2 Robert Henning
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  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 ·