Project

General

Profile

バグ #1509

生成したC++言語コードでコンパイルエラーがでる。

Added by Anonymous over 13 years ago. Updated over 13 years ago.

Status:
終了
Priority:
通常
Assignee:
Target version:
-
Start date:
05/19/2010
Due date:
% Done:

100%

Estimated time:

Description

サービスポートを持つコンポーネントをc++言語コードで生成した場合、コンパイルでエラーになる。
  • 例)
    • モジュール名:ModuleName
    • IDLファイル:MyService.idl
    • インターフェース型: SimpleService::MyService
    • ビルド方法:$make -f Makefile.ModuleName
    • エラー内容
      In file included from ModuleName.h:24,
      from ModuleName.cpp:10:
      MyServiceSVC_impl.h:38: error: ISO C++ forbids declaration of 'EchoList' with no type
      MyServiceSVC_impl.h:38: error: expected ';' before '*' token
      MyServiceSVC_impl.h:41: error: ISO C++ forbids declaration of 'ValueList' with no type
      MyServiceSVC_impl.h:41: error: expected ';' before '*' token
      In file included from ModuleName.cpp:10:
      ModuleName.h:248: error: 'MyServiceSVC_impl' in namespace 'SimpleService' does not name a type
      ModuleName.cpp: In member function 'virtual RTC::ReturnCode_t ModuleName::onInitialize()':
      ModuleName.cpp:62: error: 'm_if_name' was not declared in this scope
MyService.idl (270 Bytes) MyService.idl Anonymous, 05/19/2010 05:52 PM
MyServiceSVC_impl.h (957 Bytes) MyServiceSVC_impl.h Anonymous, 05/19/2010 05:52 PM
ModuleName.h (5.13 KB) ModuleName.h Anonymous, 05/19/2010 05:52 PM

Related issues

Related to RTC Builder - バグ #1508: 生成したjava言語コードでコンパイルエラーがでる。終了2010-05-19

History

#1 Updated by ta over 13 years ago

  • Status changed from 新規 to 担当
  • Assignee set to ta
  • % Done changed from 0 to 80

#2 Updated by ta over 13 years ago

  • Status changed from 担当 to 解決
  • % Done changed from 80 to 100

修正させて頂きました

#3 Updated by Anonymous over 13 years ago

  • Status changed from 解決 to 終了

r120 で修正されていることを確認しました。

Also available in: Atom PDF