タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

c++とlinuxに関するneumannのブックマーク (2)

  • Re: [RFC] Convert builin-mailinfo.c to use The Better String Library. [LWN.net]

    On Wed, 5 Sep 2007, Dmitry Kakurin wrote: > > When I first looked at Git source code two things struck me as odd: > 1. Pure C as opposed to C++. No idea why. Please don't talk about portability, > it's BS. *YOU* are full of bullshit. C++ is a horrible language. It's made more horrible by the fact that a lot of substandard programmers use it, to the point where it's much much easier to generate tot

    neumann
    neumann 2008/12/18
    the only way to do good, efficient, and system-level and portable C++ ends up to limit yourself to all the things that are basically available in C.
  • Supplement for patch (compile error)

    症  状(コンパイルエラー) 最近のCコンパイラ(gcc)でコンパイルする場合, glib のバージョンによっては, src/pad2ps/pad2ps.c のコンパイル時に, error: initializer element is not constant といった,エラーが生じます。 原  因 出力ファイルのポインタ変数 fp の初期化, FILE *fp = stdout; の部分が該当します。 標準出力 stdout が構造体のためです。 エラーを回避するために,この初期化をしないでコンパイルすると, pad2ps 関係のコマンド実行時に出力ファイル名を指定しないと, Segmentation fault (core dumped) となる不具合が生じます。 対処パッチ ( src/pad2ps/pad2ps.c ) #if defined(__linux__)

  • 1