Windowsでのbuildはつらい・・・

Windows での Python 2.7, 3.4, 3.5 の拡張モジュールビルド環境 - Qiita

gccでold style definitionのチェック

export CFLAGS="-Wall -Wextra -std=c89 -pedantic -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition"

EmacsのMELPAパッケージリポジトリの設定とflycheckのインストール、それからプロキシ

(setq url-proxy-services
      '(("http" . "proxy.server.com:8080")
        ("https" . "proxy.server.com:8080")))

(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t)
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
(package-initialize)
M-x package-refresh-contents
M-x package-install flycheck

flymakeの設定する前に flycheckを確認しよう - syohex’s diary