Pelles C forum

C language => Beginner questions => Topic started by: vesa on February 28, 2008, 12:25:47 PM

Title: Error codes
Post by: vesa on February 28, 2008, 12:25:47 PM
Hi
I can't find the reason for errors i get when I compile some of my programs.
Is there somewhere a list of possible error codes?
(*** Error code 42 ***)

Vesa
Title: Re: Error codes
Post by: Pelle on March 01, 2008, 01:41:50 PM
No list, but this code is kinda special - it usually means the browse database (.tag) is corrupt. Often due to a file version mismatch, but I guess other events may cause it too. Delete your <project name>.tag file, and rebuild the project to see if it makes any difference...
Title: Re: Error codes
Post by: vesa on March 03, 2008, 10:16:33 AM
Thanks for your answer, but it does not help.
The error still remains.
The programs compile without any other error or warning messages and greate obj-files as usual.
Are the obj-files OK so that I can use them as linker input?
(By the way, I test with version 5.0 beta on Windows XP)
Vesa   
Title: Re: Error codes
Post by: vesa on March 04, 2008, 07:00:13 AM
Hi
I kept testing and got the error code 42 when compiling in IDE:

static void foo(void){
char c =' ';      // error code 42
//char c = ' ';    //  warnings only
return;
} // function end

I think the browse database (.tag) is not corrupt, but this is an error in database processing.
Is there a way to increase the database speed?  It seems to make lots of disk traffic.
Another question: Is there help program like implib to make libs from dlls?

Than you making this excellent C environment!
Vesa
Title: Re: Error codes
Post by: Pelle on March 06, 2008, 04:03:32 PM
I think the browse database (.tag) is not corrupt, but this is an error in database processing.
Maybe, maybe not. I will look at it.

Is there a way to increase the database speed?  It seems to make lots of disk traffic.
It's an SQLITE database. No idea. Ask them.

Another question: Is there help program like implib to make libs from dlls?
See help file - POLIB.
Title: Re: Error codes
Post by: vesa on March 10, 2008, 07:45:48 AM
Thanks!
Vesa