Boost logo

Boost Users :

From: Stefano Gragnani (stefano.gragnani_at_[hidden])
Date: 2021-07-24 11:16:14


I compile with g++-11 without mixing, if I compile with clang 12 all compile fine.

> Il giorno 24 lug 2021, alle ore 12:33, John Maddock via Boost-users <boost-users_at_[hidden]> ha scritto:
>
> 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 mailing list
> Boost-users_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users


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