Thread: is this a bug in borland c 5.5

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    4

    is this a bug in borland c 5.5

    i am using borland command line tools for C programming

    when declaring an array of a structure that contains an array as a member, the program crashes but no compiler errors are given.

    i used to bypass the problem by making a separate module to include such array (another .C file), it works fine that way!!

    has anybody faced such problem? is it a bug or what?

    i am using the turbo linker TLink, not TLink32, because the 32-bit C modules are linked with other 16-bit modules, does this make a problem?

  2. #2

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    > because the 32-bit C modules are linked with other 16-bit modules,
    Yes, almost certainly.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. gaks bug?
    By Yarin in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 08-31-2008, 02:47 PM
  2. Debugging a rare / unreproducible bug..
    By g4j31a5 in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 08-05-2008, 12:56 PM
  3. ATL bug of CComPtr?
    By George2 in forum Windows Programming
    Replies: 6
    Last Post: 04-07-2008, 07:52 AM
  4. Bug with cboard?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 09-08-2004, 01:34 PM
  5. delay() in Bc++ 5.5
    By Chiki Chiki Chalem in forum C++ Programming
    Replies: 1
    Last Post: 07-07-2002, 09:58 AM