Eclipse doesn't parse "using, boost and std::unique_ptr [message #1855567] |
Thu, 20 October 2022 16:01 |
Jack M Messages: 1 Registered: October 2022 |
Junior Member |
|
|
Eclipse IDE for C/C++ Developers
Version: 2019-06 (4.12.0)
Build id: 20190614-1200
OS: Windows 10, v.10.0, x86_64 / win32
Java version: 14.0.2
Case 1: fail to parse std::unique_ptr
#include <memory>
std::unique_ptr<net::deadline_timer> m_timer;
Case 2: fail to parse OnMessageCB
#include "using_content.h"
OnMessageCB m_on_cb;
// file using_content.h
//
using OnMessageCB = std::function<void(long j)>;
Case 3> fail to parse boost type
const boost::posix_time::seconds m_timer{0};
Question> In all the above cases, the eclipse fails to parse those code and show red line under those code.
Is there a way that I can fix it?
What I have done so far?
C++Build => Settings => Tool Settings => GCC C++ Compiler => Includes
"C:\boost\boost_1_72_0"
Thank you
[Updated on: Thu, 20 October 2022 20:23] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03610 seconds