◀ANSI版開発トップへ
  • 2544 gccのエラー出力からのタグジャンプ
  • [2544] gccのエラー出力からのタグジャンプ まつも 2003年01月15日 15:35

    はじめまして。サクラエディタを使わせていただいています。

    表題の件を実現するために、ちょっとソースを修正してみましたので、修正内容を書き込みさせていただきます。
    とりあえず、動いているのですがレベルダウンしていないかがちょっと心配です。

    gccのエラー出力は以下のような感じです。
    ---
    g++ C:\temp\test.cpp
    C:/temp/test.cpp: In function `int main()':
    C:/temp/test.cpp:7: `print' undeclared (first use this function)
    C:/temp/test.cpp:7: (Each undeclared identifier is reported only once for each
    function it appears in.)
    ---

    「ファイル名:行番号:」という形式のタグジャンプに対応するため以下の修正を入れました(1行追加)。
    etc_uty.cpp(Revision: 1.34)の1488行目
    ---
    1487| pLine[i] == '>' ||
    1488| pLine[i] == ':' || //@@@ 2003/1/15/ matsumo (for gcc)
    1489| pLine[i] == '"'
    ---