NO

Author Topic: What means "Fehlercode: 42"?  (Read 4966 times)

David Strutz

  • Guest
What means "Fehlercode: 42"?
« on: June 11, 2008, 09:45:07 PM »
Quote from: Output
Erzeugen 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" ...  :-\
« Last Edit: June 13, 2008, 01:10:26 AM by David Strutz »

JohnF

  • Guest
Re: *** Fehlercode: 42 ***
« Reply #1 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

Offline Stefan Pendl

  • Global Moderator
  • Member
  • *****
  • Posts: 582
    • Homepage
Re: *** Fehlercode: 42 ***
« Reply #2 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.
---
Stefan

Proud member of the UltraDefrag Development Team

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: *** Fehlercode: 42 ***
« Reply #3 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...
/Pelle

David Strutz

  • Guest
Re: *** Fehlercode: 42 ***
« Reply #4 on: June 13, 2008, 01:09:58 AM »
...
Try deleting the <projectname>.tag file and rebuild the project to see what happens...

Thats it! Thank you so much!

Offline jack

  • Member
  • *
  • Posts: 62
Re: What means "Fehlercode: 42"?
« Reply #5 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.
« Last Edit: August 18, 2008, 11:07:38 AM by jack »

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: What means "Fehlercode: 42"?
« Reply #6 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...
/Pelle

BonnieJohann

  • Guest
Re: What means "Fehlercode: 42"?
« Reply #7 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