Boost logo

Boost Users :

From: John Maddock (jz.maddock_at_[hidden])
Date: 2021-07-24 10:33:24


On 23/07/2021 07:57, Stefano Gragnani via Boost-users wrote:
> The development system is:
> MacBook Pro Intel i9
> MacOS  Big Sur 11.4
> gcc version 11.1.0 (Homebrew GCC 11.1.0_1)
> clang version 12.0.0
>
> I'm having trouble compiling some examples from the book 'Boost C ++
> Application Development Cookbook’.
> The problem occurs *only* *with g ++,* *with clang there is no error.*
> Mistakes only occur when linking to -lboost_program_options,
> -lboost_system and -lboost_filesystem, with any other library (eg
> -lboost_chrono) everything is fine.

Did you compile the libraries with g++ or are they clang compiled?  I
would expect that mixing the 2 would cause issues.

-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

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