Results 1 to 2 of 2

Thread: using Borland C++ Compiler

  1. #1
    Adanz is offline Registered User
    Join Date
    Sep 2004
    Posts
    4

    using Borland C++ Compiler

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

    thank!

  2. #2
    Adanz is offline Registered User
    Join Date
    Sep 2004
    Posts
    4
    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?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. slice2objc compiler
    By slypete in forum Bug Reports
    Replies: 2
    Last Post: 05-04-2009, 07:21 PM
  2. Linker errors building with Borland C++ Builder
    By amercieca in forum Help Center
    Replies: 10
    Last Post: 11-08-2006, 06:18 AM
  3. Can ICE be compiled under Borland C++?
    By Hix-roll in forum Comments
    Replies: 1
    Last Post: 11-24-2005, 10:53 PM
  4. compiler error
    By code in forum Help Center
    Replies: 1
    Last Post: 11-27-2004, 03:36 PM
  5. ICE with Borland C++ ??
    By dripdrip in forum Comments
    Replies: 1
    Last Post: 07-25-2003, 06:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •