- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Compiler XE 14 and boost 1.54
errors:
error #373: "boost::asio::detail::noncopyable::noncopyable(const boost::asio::detail::noncopyable &)" (declared at line 32 of "path removed\boost/asio/detail/noncopyable.hpp") is inaccessible path removed\boost\asio\basic_streambuf.hpp
error : class "boost::asio::basic_socket_iostream<boost::asio::ip::tcp, boost::asio::stream_socket_service<boost::asio::ip::tcp>, boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime>, boost::asio::deadline_timer_service<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime>>>" has no member "read_some" path removed\boost\asio\impl\read.hpp
Please explain.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This issue is new. Could you please attach the .i file and command line?
Thanks,
Jennifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I dont have an .i file anywhere, I'm using visual studio 2010 if that makes a difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I fixed the second error but still having trouble with the first:
"boost::asio::detail::noncopyable::noncopyable(const boost::asio::detail::noncopyable &)" (declared at line 31 of "path removed\boost/asio/detail/noncopyable.hpp") is inaccessible
1> private noncopyable
1> ^
if I comment private in the noncopyable class:
class noncopyable{ protected: noncopyable() {} ~noncopyable() {} private: noncopyable(const noncopyable&); const noncopyable& operator=(const noncopyable&); };
I get an LNK2019 instead
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You would make the pre-processed file by a command line such as
icl -E -I..... *.cpp > your.i
This would show how the includes were resolved.
A mixture of forward and back slashes in paths doesn't look right.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
commanderlake wrote:
Got the .i files but they are huge!
It is normal for preprocessed files to have size of several hundreds megabytes, if not gigabytes. You can always zip them and upload an archive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I meant big for files containing text, they are a perfectly manageable size, the most significant one I uploaded with my last post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
commanderlake wrote:
[....] I uploaded with my last post.
oops, I must have been overworked, I have not noticed that fact, sorry for the noise :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My project is on hold till I solve this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got other different errors with the .i file. which VC are you using? are you building for x64 or win32?
Jennifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Got the .i files but they are huge!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am working on a similar problem. I can reproduce the error with your test case and icl 14.0:
C:\Users\Administrator\Documents\Visual Studio 2010\boost154\boost/asio/basic_streambuf.hpp(113): error #373: "boost::asio::detail::noncopyable::noncopyable(const boost::asio::detail::noncopyable &)" (declared at line 31 of "C:\Users\Administrator\Documents\Visual Studio 2010\boost154\boost/asio/detail/noncopyable.hpp") is inaccessible
private noncopyable
^
detected during:
implicit generation of "boost::asio::basic_streambuf<Allocator>::basic_streambuf(const boost::asio::basic_streambuf<std::allocator<char>> &) [with Allocator=std::allocator<char>]" at line 161 of "RCClientPPDlg.cpp"
instantiation of class "boost::asio::basic_streambuf<Allocator> [with Allocator=std::allocator<char>]" at line 161 of "RCClientPPDlg.cpp"
Does the code compile with the Microsoft compiler (unless of course you are using Intel-specfic syntax)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I worked around the issue by simply removing the noncopyable attribute (or whatever its called).

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page