MavericksからデフォルトのC++ライブラリがlibc++になった模様

C++ standard libraries

 朝起きてぼけーとしながら、brew upgradeをやっていたらgcc49でエラー。よく読んでみると。

Error: gcc49 dependency gmp4 was built with the following
C++ standard library: libstdc++ (from clang)

This is incompatible with the standard library being used
to build gcc49: libc++ (from clang)

Please reinstall gmp4 using a compatible compiler.
hint: Check https://github.com/mxcl/homebrew/wiki/C++-Standard-Libraries

 依存先のgmp4がlibstdc++でビルドされているけど今使ってるのはlibc++だぜ、ということらしいのでさくっとgmp4をuninstall && installして、再度brew upgrade。今度は無事にupgrade成功したので、よし。