It looks like a bug in the asyn include file, which was not including
string in the first place.
2015-01-06 21:39 GMT-02:00 Mark Rivers <[email protected]>:
> Yes, that fixes the problem, thanks.
>
> I think it is a bug in the OSX C++ include files, but the workaround is simple and harmless.
>
> Mark
>
>
> -----Original Message-----
> From: Henrique Almeida [mailto:[email protected]]
> Sent: Tuesday, January 06, 2015 2:08 PM
> To: Mark Rivers
> Cc: [email protected] Talk
> Subject: Re: Problem building asyn R4-25 on Mac OSX Yosemite
>
> Include <string> ?
>
> 2015-01-06 17:37 GMT-02:00 Mark Rivers <[email protected]>:
>> Folks,
>>
>>
>>
>> Diego Omitto from BNL has reported the following errors when building asyn
>> R4-25 on Max OSX Yosemite.
>>
>>
>>
>> It builds fine on Linux, Windows, vxWorks, and earlier versions of OSX.
>>
>>
>>
>> c++ -c -DUNIX -Ddarwin -O3 -g -Wall -arch x86_64
>> -fno-common -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../asyn/asynDriver
>> -I../../asyn/asynGpib -I../../asyn/drvAsynSerial -I../../asyn/interfaces
>> -I../../asyn/miscellaneous -I../../asyn/asynPortDriver/exceptions
>> -I../../asyn/asynPortDriver -I../../asyn/asynPortClient
>> -I../../asyn/devEpics -I../../asyn/asynRecord -I../../asyn/vxi11
>> -I../../asyn/gsIP488 -I../../asyn/ni1014 -I../../asyn/devGpib
>> -I../../include/os/Darwin -I../../include
>> -I/Users/diego/epics/synApps_5_7/support/ipac-2-12/include
>> -I/Users/diego/epics/synApps_5_7/support/seq-2-1-13/include
>> -I/Users/diego/epics/base/include/os/Darwin
>> -I/Users/diego/epics/base/include
>> ../../asyn/asynPortClient/asynPortClient.cpp
>>
>> In file included from ../../asyn/asynPortClient/asynPortClient.cpp:18:
>>
>> ../../asyn/asynPortClient/asynPortClient.h:75:38: error: implicit
>> instantiation of undefined template 'std::__1::basic_string<char,
>> std::__1::char_traits<char>,
>>
>> std::__1::allocator<char> >'
>>
>> throw std::runtime_error(std::string("pasynInt32SyncIO->connect
>> failed"));
>>
>> ^
>>
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:188:33:
>> note: template is declared here
>>
>> class _LIBCPP_TYPE_VIS_ONLY basic_string;
>>
>> ^
>>
>>
>>
>> Can anyone suggest what needs to be changed to eliminate this error?
>>
>>
>>
>> Thanks,
>>
>> Mark
>>
>>
- Replies:
- RE: Problem building asyn R4-25 on Mac OSX Yosemite Mark Rivers
- References:
- Problem building asyn R4-25 on Mac OSX Yosemite Mark Rivers
- Re: Problem building asyn R4-25 on Mac OSX Yosemite Henrique Almeida
- RE: Problem building asyn R4-25 on Mac OSX Yosemite Mark Rivers
- Navigate by Date:
- Prev:
Problems building EPICS base3.14.12.4 for i386 and armhf Florian Feldbauer
- Next:
Can't start CSS RDB archiver Zunbeltz Izaola
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
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: Problem building asyn R4-25 on Mac OSX Yosemite Mark Rivers
- Next:
RE: Problem building asyn R4-25 on Mac OSX Yosemite Mark Rivers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
|