-
May 4th, 2007, 12:35 AM
#1
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
-
May 19th, 2007, 02:26 PM
#2
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.
-
June 1st, 2007, 02:42 AM
#3
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
-
June 1st, 2007, 10:24 AM
#4
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
-
June 4th, 2007, 05:59 AM
#5
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
-
June 5th, 2007, 04:37 AM
#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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|