Re: [MacPorts] #45287: OpenSceneGraph build against libstdc++ (should be libc++)
#45287: OpenSceneGraph build against libstdc++ (should be libc++) -----------------------------+-------------------------------- Reporter: hartmut@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: OpenSceneGraph | -----------------------------+-------------------------------- Comment (by mmoll@…): If I comment out these lines everything still compiles fine: {{{ set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LANGUAGE_STANDARD "c++98") set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libstdc++") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++98 -stdlib=libstdc++ -Wno- overloaded-virtual -Wno-conversion") }}} Is there any downside to this? With the port as it is now, I'm having some trouble compiling some other code that depends on OpenSceneGraph and various other libraries. Somehow, linking against both libstdc++ and libc++ doesn't seem to work well. -- Ticket URL: <https://trac.macports.org/ticket/45287#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts