What means "Fehlercode: 42"?

Started by David Strutz, June 11, 2008, 09:45:07 PM

Previous topic - Next topic

David Strutz

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" ...  :-\

JohnF

Usually the output window also tells you what the error is.

e.g.

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

John

Stefan Pendl

Error code 42 might be a system error, since internal PellesC errors are displayed in a different way.
---
Stefan

Proud member of the UltraDefrag Development Team

Pelle

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...
/Pelle

David Strutz

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!

jack

#5
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.

Pelle

Try unchecking "Build browse information" in Tools -> Options, Source tab. You will loose some functionality, but maybe also error 42...
/Pelle

BonnieJohann

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