Showing posts with label memo. Show all posts
Showing posts with label memo. Show all posts

3 Jul 2016

MinGW-w64/GCCでthread model: mcfを使う

MinGW-w64/GCCにはthread modelがwin32とposixの2つがあります.
両者の違いは主に
・win32の方が高速
・posixでなければc++11のthreadが使えない
といったモノが挙げられます.
また,posixの方はMinGW-w64のライブラリであるwinpthreadsに依存した実装となっています.

26 Apr 2015

MSYS2上のMinGW-w64 GCCでcolored diagnosticsを使う

MSYS2上のMinGW-w64 GCCでcolored diagnostics (-fdiagnostics-color)を使いたかったのでメモ