CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2007
    Posts
    6

    fatal error C1067: compiler limit

    Hi,
    I am building my application on VC ++ 6.0 and in setting i put "program datbase" in debug info.but it gives me fatal error C1067: compiler limit and the error is shown in MFC file afxcom_.h .The errpr is like this.

    C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxcom_.h(66) : fatal error C1067: compiler limit : debug information module size exceeded
    i can sucessfully complie code with "Line Numbers only" in debug info but
    i wanted it to be comiple with program datbase" in debug info.
    Is there any solution to resolve this error.


    Regards
    aaaa102

  2. #2
    Join Date
    Nov 2006
    Posts
    1,611

    Re: fatal error C1067: compiler limit

    This is an old, lonely, unanswered post from some time ago, so perhaps you've solved the problem by now.

    Without more vision my only suggestions are:

    - move to Visual Studio 2005, where such limits are not as imposing.

    - break the code into smaller modules.

  3. #3
    Join Date
    Jan 2007
    Posts
    6

    Re: fatal error C1067: compiler limit

    Hi JVene,
    Thanks for reply,
    I was dam busy in another project.
    So I didn’t get time to look into this issue.
    Now got some time so back to old issue.
    Actually I wanted to build that application in VC++ 6.0
    And application code is so huge so it’s very difficult to break it.
    Could you please suggest me any such solution that it should build
    In program database and in VC++ 6.0.


    aaaa102

  4. #4
    Join Date
    Feb 2002
    Posts
    4,640

    Re: fatal error C1067: compiler limit

    AFAIK, there is only one solution, break your modules up (as JVene suggested). Otherwise, you can't put all the debug information into the PDB. This is a limit of the compiler version you are using.

    Another suggestion is to use good ol' 'std::cout' to print debugging messages on the command line.

    Viggy

  5. #5
    Join Date
    Jan 2007
    Posts
    6

    Re: fatal error C1067: compiler limit

    Thanks MrViggy for the reply.
    I will try to break the code.I will get back to you if having problem.
    I think i need to break the enum and structures in the code.
    Thanks MrViggy and JVene once again.

    aaaa102

  6. #6
    Join Date
    Jan 2007
    Posts
    6

    Re: fatal error C1067: compiler limit

    Hello,
    I got the file where large enum is defined its near about 3400 lines it like this
    typedef enum
    {

    ....................

    //3400 lines
    ....................

    }APP_EEV;
    Now this APP_EEV is used in lots of file.
    Now Could you pls tell me how can break this enum??

    i am thinking that i will go like this

    typedef enum
    {



    }APP_EEV1;
    typedef enum
    {

    }APP_EEV2;

    And replace these two with older one but it is very tidious job.
    If you know another solution pls let me know.


    aaaa102

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured