[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:08713] Re: error in g++ compiling
-
From:Namio MATUDA
-
Date:Thu, 15 Feb 2001 09:31:54 +0900
- Subject: [plamo:08713] Re: error in g++ compiling
- From: Namio MATUDA <0131277601@xxxxxxxxxxxxxxx>
- Date: Thu, 15 Feb 2001 09:31:54 +0900
- Posted: Thu, 15 Feb 2001 09:31:44 +0900
松田@東京電機大学です.
このバグは結構悩ましいですね.
http://www.gnu.org/software/gcc/gcc.html
の Bugs/Known bugs に報告があります.具体的には,
/usr/include/g++-3/streambuff.h 51行目からの streamoff と streampos を
typedef している箇所を,
次のように変更すれば良いと思います.
#if defined(_G_IO_IO_FILE_VERSION) && _G_IO_IO_FILE_VERSION == 0x20001
typedef _IO_off64_t streamoff;
/* typedef _IO_fpos64_t streampos; */ <- 誤
typedef _IO_off64_t streampos;
#else
typedef _IO_off_t streamoff;
/* typedef _IO_fpos_t streampos; */ <- 誤
この変更のせいで他の場合に不具合が出るかもしれませんので,記録しておいた
ほうが良いですよ.なお,私は今のところ不具合に遭遇してません.
Yasunari Asakura wrote:
>
> はじめまして、
> 朝倉康成といいます。
> 「SoftWare Design」11月号でこれは!と思い、
> 真面目にLinuxをさわりはじめました。
>
> C++で書かれたソースをコンパイルすとに同じようなエラーが起きます。
> ソースコードの問題ではなくC++のライブラリの問題かな?思うのですが、
> このような時にどう対処していいのかわかりません。
> ごく基本的なことかも知れないのですが、力をお貸し下さい。
> 以下長いのですが、、、
>
> (略)
--------------------------------------------------------------------
mmm mmm | matuda@film.s.dendai.ac.jp
((^_^)) <- -> | 松田七美男@東京電機大学 物質工学科 教授
{ } ({ }) | 〒101 千代田区神田錦町2-2
_I I_ _I_ | Tel:03(5280)3402 Fax:03(5280)3570
- Follow-Ups
-
- [plamo:08714] Re: error in g++ compiling, Namio MATUDA
- References
-
- [plamo:08711] error in g++ compiling, Yasunari Asakura
[検索ページ]
[メール一覧]
Plamo ML 公開システム