Skip to content

Include <boost/lexical_cast.hpp> explicitly#76

Open
plusky wants to merge 1 commit into
pothosware:masterfrom
plusky:boost-lexical-cast-include
Open

Include <boost/lexical_cast.hpp> explicitly#76
plusky wants to merge 1 commit into
pothosware:masterfrom
plusky:boost-lexical-cast-include

Conversation

@plusky

@plusky plusky commented Jun 18, 2026

Copy link
Copy Markdown

UHDSoapyDevice.cpp and SoapyUHDDevice.cpp use boost::lexical_cast but relied on it being included transitively by another Boost header. Recent Boost releases no longer pull it in, so the build fails with 'lexical_cast' is not a member of 'boost'. Include <boost/lexical_cast.hpp> directly in both files.

UHDSoapyDevice.cpp and SoapyUHDDevice.cpp use boost::lexical_cast but
relied on it being pulled in transitively by another boost header.
Recent Boost no longer does so, breaking the build with
'lexical_cast is not a member of boost'. Include it directly.
@gretel

gretel commented Jun 18, 2026

Copy link
Copy Markdown

bbbf0a2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants