Ticket #22307

gcc4.5.0だとcNamedPipeIo.cppのコンパイルに失敗する。

Open Date: 2010-06-27 22:28 Last Update: 2010-06-28 01:14

Reporter:
Owner:
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None

Details

gcc4.5.0-tdm-1でpipesampleをmakeしようとすると、

~/c/cNamedPipeIo.cpp: In constructor 'nbox::NamedPipeIo::NamedPipeIo(const char*, const char*)':
~/c/cNamedPipeIo.cpp:31:26: error: 'strlen' is not a member of 'std'
~/c/cNamedPipeIo.cpp:31:48: error: 'strlen' is not a member of 'std'
~/c/cNamedPipeIo.cpp:33:13: error: 'sprintf' is not a member of 'std'
make: *** [obj/cNamedPipeIo.o] Error 1
というエラーになる。

Ticket History (2/2 Histories)

2010-06-27 22:28 Updated by: molelord
  • New Ticket "gcc4.5.0だとcNamedPipeIo.cppのコンパイルに失敗する。" created
2010-06-28 01:14 Updated by: molelord
  • Resolution Update from None to Fixed
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2010-06-28 01:14
Comment

r151で対策した。 #includeするファイルの指定不足がエラーの原因だった。

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login