Boost logo

Boost Users :

Subject: Re: [Boost-users] [all libs] compatibility
From: Pace, Antony [Harman Pro Group UK] (antony.pace_at_[hidden])
Date: 2011-03-29 11:48:12


I am using boost::asio on a small FPGA core running NIOS and uCos and having problems. After reading documentation I now understand that asio is only implemented for a number of platforms; albeit the bigger platforms.

I see other messages on this forum about platform compatibility and am getting more and more disillusioned with Boost. I thought the whole point was that boost libraries only needed a compliant compiler.

I understand that for TCP/IP and timers there needs to be some interoperability with the underlying operating system. I understand for example that timers can plug into posix or Windows timers but I can't understand why the boost libraries themselves have #ifdef WINVER statements in them. I could understand that to run libraries such as asio on my OS I need to implement a set of functionality and can imagine those being available for popular OSes such as Windows and Linux separately, ie outside the scope of Boost.

Would it not be possible to have well defined OS interfaces for all libraries that are OS dependent and would that not be more in the spirit of Boost and ultimately C++ and STL?

Many thanks for your thoughts.
Ant

[cid:image001.png_at_01CBEE31.17904490]

Cranborne House, Cranborne Road,
Potters Bar, Herts, EN6 3JN
Phone: +44 1707 668025
Email: antony.pace_at_[hidden]
Skype: antony.pace.harman
Web: www.harman.com

ANTONY PACE
Senior Software Engineer
Soundcraft Studer R&D

Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorised review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.




image001.png

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net