Pelles C forum

C language => Beginner questions => Topic started by: David Strutz on June 11, 2008, 09:45:07 PM

Title: What means "Fehlercode: 42"?
Post by: David Strutz on June 11, 2008, 09:45:07 PM
Quote from: OutputErzeugen von dllmain.obj.
Erzeugen von server.tag.
*** Fehlercode: 42 ***
Erzeugen von server.dll.
Creating object: server.exp
Creating library: server.lib
Fertig.

What this "*** Fehlercode: 42 ***" means?

I am german, "Fehlercode" means "Errorcode" but I did'nt find any description about "#42" ...  :-\
Title: Re: *** Fehlercode: 42 ***
Post by: JohnF on June 12, 2008, 11:12:18 AM
Usually the output window also tells you what the error is.

e.g.

error #2168: Operands of != have incompatible types 'int' and 'void *'.

John
Title: Re: *** Fehlercode: 42 ***
Post by: Stefan Pendl on June 12, 2008, 06:06:35 PM
Error code 42 might be a system error, since internal PellesC errors are displayed in a different way.
Title: Re: *** Fehlercode: 42 ***
Post by: Pelle on June 12, 2008, 07:36:48 PM
Error 42 is one of the few, possibly the only one, without a decent text description. It means there was a problem building the browse info database (<projectname>.tag).

Version 5.0 of Pelles C use SQLite v3.x, the previous version used SQLite v2.x. A mix of database versions may cause this error (and this is the only case I am aware of), but there might be other cases. Try deleting the <projectname>.tag file and rebuild the project to see what happens...
Title: Re: *** Fehlercode: 42 ***
Post by: David Strutz on June 13, 2008, 01:09:58 AM
Quote from: Pelle on June 12, 2008, 07:36:48 PM
...
Try deleting the <projectname>.tag file and rebuild the project to see what happens...

Thats it! Thank you so much!
Title: Re: What means "Fehlercode: 42"?
Post by: jack on August 18, 2008, 11:04:39 AM
I also keep getting errorcode 42, how do I fix it?
reinstalled Pelles C but still the same :( , also deleting the project.tag file does not work.
Title: Re: What means "Fehlercode: 42"?
Post by: Pelle on September 23, 2008, 09:04:33 PM
Try unchecking "Build browse information" in Tools -> Options, Source tab. You will loose some functionality, but maybe also error 42...
Title: Re: What means "Fehlercode: 42"?
Post by: BonnieJohann on December 04, 2008, 11:25:33 AM
I had the same problem. Errorcode 42... Furthermore it wasn't possible anymore to save my file, after running my program once. Something like "Could not save program.c... Another process uses this file..." appears, but Pelles C was the only program which used the file. Unchecking "Build browse information" in Tools -> Options, Source tab seemed to solve the issue.

Which functionality do I loose?

Regards