This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPDS build error

Other Parts Discussed in Thread: MSPDS

Hi there,


when building the MSP430 debug stack on an up-to date Linux (Arch Linux, gcc 5.3). I got this error:

DLL430_v3/src/TI/DLL430/UsbCdcIoChannel.cpp: In static member function ‘static void TI::DLL430::UsbCdcIoChannel::createCdcPortList(uint16_t, uint16_t, TI::DLL430::PortMap&)’:
DLL430_v3/src/TI/DLL430/UsbCdcIoChannel.cpp:320:5: error: reference to ‘ifstream’ is ambiguous
     ifstream modAliasStream((it->path()/"device/modalias").string().c_str());
     ^
In file included from /usr/include/c++/5.3.0/memory:72:0,
                 from DLL430_v3/src/TI/DLL430/pch.h:50:
/usr/include/c++/5.3.0/iosfwd:162:34: note: candidates are: typedef class std::basic_ifstream<char> std::ifstream
   typedef basic_ifstream<char>   ifstream;

I changed ifstream to std::ifstream and MSPDS compiled without errors and works fine. Would be great if you could fix this in MSPDS.


Regards,

Lukas

**Attention** This is a public forum