Hi Mark,
>> ../GenICamFeature.cpp:15:25: error: unable to find string literal
> operator ‘operator""fmt’ with ‘const char [17]’, ‘long unsigned int’
> arguments
Beginning with C++11 a space between string concatenation is mandatory.
Please use:
#define ERR_ARGS(fmt,...) asynPrint(mSet->getUser(), ASYN_TRACE_ERROR, \
"Param[%s]::%s: " fmt "\n", mAsynName.c_str(), functionName,
__VA_ARGS__);
-Martin
--
Martin Konrad
Facility for Rare Isotope Beams
Michigan State University
640 South Shaw Lane
East Lansing, MI 48824-1321, USA
Tel. 517-908-7253
Email: [email protected]
- Replies:
- RE: C++ string question Mark Rivers via Core-talk
- References:
- C++ string question Mark Rivers via Core-talk
- Navigate by Date:
- Prev:
RE: C++ string question Mark Rivers via Core-talk
- Next:
RE: C++ string question Mark Rivers via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: C++ string question Mark Rivers via Core-talk
- Next:
RE: C++ string question Mark Rivers via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
|