Home Help Center

using Borland C++ Compiler

now ,a great many users using Borland C++ Compiler,anyone can help
how to building ICE with Borland c++.

thank!

Comments

  • AdanzAdanz Member
    when I use Borland c++ Builder 6 compiler src\ice\ source file ,
    occur error is :

    [C++ Error] Handle.h(140): E2515 Cannot explicitly specialize a member of a generic template class

    source Handle.h
    #ifdef _WIN32 // COMPILERBUG: Is VC++ or GNU C++ right here???
    template<>
    Handle(const Handle<T>& r)
    #else
    Handle(const Handle& r)
    #endif

    And I comment these code

    //#ifdef _WIN32 // COMPILERBUG: Is VC++ or GNU C++ right here???
    // template<>
    // Handle(const Handle<T>& r)
    //#else
    Handle(const Handle& r)
    //#endif

    and compiling ...

    but occer error:

    [C++ Error] LocalObjectF.h(25): E2141 Declaration syntax error
    [C++ Error] LocalObjectF.h(26): E2238 Multiple declaration for 'ICE_API'
    [C++ Error] LocalObjectF.h(25): E2344 Earlier declaration of 'ICE_API'
    [C++ Error] LocalObjectF.h(26): E2141 Declaration syntax error

    [C++ Error] LocalObjectF.h(33): E2316 'Handle' is not a member of 'IceInternal'

    [C++ Error] LocalObjectF.h(33): E2040 Declaration terminated incorrectly
    [C++ Error] ProxyF.h(67): E2238 Multiple declaration for 'ICE_API'
    [C++ Error] LocalObjectF.h(26): E2344 Earlier declaration of 'ICE_API'
    [C++ Error] ProxyF.h(67): E2141 Declaration syntax error
    [C++ Error] ProxyF.h(68): E2238 Multiple declaration for 'ICE_API'
    [C++ Error] ProxyF.h(67): E2344 Earlier declaration of 'ICE_API'
    [C++ Error] ProxyF.h(68): E2141 Declaration syntax error
    [C++ Error] ProxyF.h(70): E2238 Multiple declaration for 'ICE_API'
    [C++ Error] ProxyF.h(68): E2344 Earlier declaration of 'ICE_API'
    [C++ Error] ProxyF.h(70): E2141 Declaration syntax error
    [C++ Error] ProxyF.h(71): E2238 Multiple declaration for 'ICE_API'
    [C++ Error] ProxyF.h(70): E2344 Earlier declaration of 'ICE_API'
    [C++ Error] ProxyF.h(71): E2141 Declaration syntax error
    [C++ Error] ProxyF.h(73): E2238 Multiple declaration for 'ICE_API'
    [C++ Error] ProxyF.h(71): E2344 Earlier declaration of 'ICE_API'
    [C++ Error] ProxyF.h(73): E2141 Declaration syntax error
    [C++ Error] ProxyF.h(74): E2238 Multiple declaration for 'ICE_API'
    [C++ Error] ProxyF.h(73): E2344 Earlier declaration of 'ICE_API'
    [C++ Error] ProxyF.h(74): E2141 Declaration syntax error
    [C++ Error] ProxyF.h(76): E2238 Multiple declaration for 'ICE_API'
    [C++ Error] ProxyF.h(76): E2228 Too many error or warning messages

    how can i do?
Sign In or Register to comment.