#43650: boost::regex link error -----------------------+-------------------------------- Reporter: casmyu@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: | -----------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * status: new => closed * resolution: => invalid Comment: Remember to use WikiFormatting when writing in Trac. You cannot mix C++ runtimes. On OS X 10.9 Mavericks and later, the system runtime is libc++, and that is what boost and most other MacPorts ports are using as well. gcc uses libstdc++. They are not compatible. Compile your code with clang instead of gcc. See wiki:FAQ#libcpp. -- Ticket URL: <https://trac.macports.org/ticket/43650#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X