Expert needed: fatal error C1067

This is a discussion on Expert needed: fatal error C1067 within the C Programming forums, part of the General Programming Boards category; Hello, When i attempt to complie, obtain the following error fatal error C1067: compiler limit : debug information module size ...

  1. #1
    Registered User
    Join Date
    Jun 2007
    Posts
    7

    Expert needed: fatal error C1067

    Hello,
    When i attempt to complie, obtain the following error
    fatal error C1067: compiler limit : debug information module size exceeded

    I have done my reasearch on the net, and found 2 solutions. The first is to use #pragma component(mintypeinfo, on/off). The other is to breakdown my structures.

    The structure breakdown is not an option since it is generated by a pre-compiler and i have absolutly no power over that. So i tempted to isolate exactly what structure is causing the problem by using a very wide pragma range and trying to move get more precise. At first i used the pragma over my entire code and still got compilation error.

    Now im starting to wonder if it wouldn't be caused by something else... is it possible? if so what is the solution.

    My module is fairly lage, but simple, 1 .c file and 17 .h for a total of about 20k lines of code.

    Dont blame me for the design, it was done and coded by someone else but im stuck having to make it work. :-(

    Any Help is appreciated
    Ben

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    does it work when you compile for non-debug?

    (fyi: this is about the only suggestion I personally can make... don't know too much about this stuff)

  3. #3
    Registered User
    Join Date
    Jun 2007
    Posts
    7
    Yes it does

    Gives me a few warnings, but i beleive that they are not related to this issue.

    I dont know if it is needed to be built as debug for the final release, i will have to check with the systems architect. If it does need to be built in debug i will have to find a creative way to solve this issue

  4. #4
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    The simple answer is to tellthem it cant be built as a debug project. You cant make a hammer be a chainsaw, or vice versa. If it compiles fine under release, then Id say thats what you give them. I cant think of any legitimate reason why the customer would need the debug version.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. expert help needed
    By BrownB in forum C Programming
    Replies: 1
    Last Post: 11-04-2005, 01:04 AM
  2. [Linker Fatal Error] Fatal: Expected a file name
    By Checco in forum C++ Programming
    Replies: 1
    Last Post: 07-27-2005, 05:34 AM
  3. Weird fatal error, header file related
    By alkis_y3k in forum C++ Programming
    Replies: 2
    Last Post: 12-26-2002, 08:54 AM
  4. fatal exception 0E
    By juhigarg in forum Windows Programming
    Replies: 3
    Last Post: 12-04-2001, 03:40 AM
  5. Fatal error :/
    By Jeremy G in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 11-13-2001, 07:53 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21