include files for cgxCADTools

Joshua Root jmr at macports.org
Mon Aug 8 16:10:57 UTC 2022


That's a completely different thing. The language standard is selected 
by -std, the stdlib implementation is selected by -stdlib, and linking 
to a stdlib directly (as -lstdc++ does) is usually a bug since the C++ 
compiler will implicitly add the appropriate stdlib when linking.

- Josh

On 2022-8-9 01:16 , Mark Brethen wrote:
> There is also -lstdc++, I thought those should be set in the Portfile. 
> Doesn’t macports-clang have its own standard?
> 
> 
> Mark Brethen
> mark.brethen at gmail.com <mailto:mark.brethen at gmail.com>
> 
> 
> 
>> On Aug 7, 2022, at 7:22 PM, Ryan Schmidt <ryandesign at macports.org 
>> <mailto:ryandesign at macports.org>> wrote:
>>
>> In fact, the Makefile already had -std=c++11, but your patchfile 
>> removed it. So don't remove it.
> 



More information about the macports-dev mailing list