Thread: Borland 5.5 Compiling error =(

  1. #1
    Registered User
    Join Date
    May 2003
    Posts
    5

    Borland 5.5 Compiling error =(

    Hello everyone! I ran into a problem using Borland 5.5 to compile. I get this error message when attempting to compile a simple test program.

    C:\Borland\BCC55\Bin>bcc32 C:\#PROJE~1\#C\test.cpp
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\#PROJE~1\#C\test.cpp:
    Error E2040 C:\#PROJE~1\#C\test.cpp 1: Declaration terminated incorrectly
    *** 1 errors in Compile ***

    C:\Borland\BCC55\Bin>bcc32 test.cpp
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    test.cpp:
    Error E2040 test.cpp 1: Declaration terminated incorrectly
    *** 1 errors in Compile ***

    I know the compiler probably simply isn't set up correctly. I have only installed from the exe. I have tried the process listed at cprogramming.com to create some .cfg files but i get the same error with or without using them. If anyone can help I would greatly appreciate it. Thanks in advance and happy programming!

  2. #2
    The Defective GRAPE Lurker's Avatar
    Join Date
    Feb 2003
    Posts
    949
    Can we see the code? It looks like a source code error to me...
    Do not make direct eye contact with me.

  3. #3
    Registered User
    Join Date
    May 2003
    Posts
    7
    yeah looks like a error in the code to me as well.

    all the errors i got with setting up this compiler where ilink32.cfg errors and the other file.

    borland howto

    that should help you setup the compiler just incase.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbie Compiling Problem
    By Deronius in forum C++ Programming
    Replies: 3
    Last Post: 06-15-2008, 11:23 AM
  2. Compiling Issues
    By pc_doctor in forum C Programming
    Replies: 3
    Last Post: 11-30-2007, 10:00 AM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  4. Compiling
    By Dae in forum C++ Programming
    Replies: 7
    Last Post: 06-15-2005, 01:08 AM
  5. Compiling syntax
    By Jez_Master in forum C++ Programming
    Replies: 3
    Last Post: 04-01-2002, 09:46 PM