Author Topic: unknown exception  (Read 60417 times)

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: unknown exception
« Reply #75 on: December 17, 2005, 04:03:24 pm »
Because it does not matter, -923485 and 4294043811 is the same binary number, the computer knows no difference.
You would only know if you looked at the XML file in a text editor, and reading the CRC does not tell you much anyway (except if you are that autistic boy from The Mercury Project).
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: unknown exception
« Reply #76 on: December 17, 2005, 05:11:43 pm »
So, is it fixed or not? (Just wondering)

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: unknown exception
« Reply #77 on: December 17, 2005, 05:20:55 pm »
Yes :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

grv575

  • Guest
Re: unknown exception
« Reply #78 on: December 17, 2005, 08:10:00 pm »
Checked out 1541 and tested both unicode and ansi builds.  CRC calculation is correct and the crash is fixed.

takeshimiya

  • Guest
Re: unknown exception
« Reply #79 on: December 18, 2005, 02:01:22 am »
My two Athlon64 PCs and my Turion64 notebook don't seem to know that.

Anyway, that can be adressed at a later time separately.
CPU: Athlon 64

OS: 32 bits
long=32 bits
int=32 bits

OS: 64 bits
long=64 bits
int=32 bits

grv575

  • Guest
Re: unknown exception
« Reply #80 on: December 18, 2005, 04:25:07 am »
As long as it overflows consistently then the crcs should still match (haven't double-checked but I think this is the case as a negative crc was matching over here so this must mean it casts to int first before it compares)

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: unknown exception
« Reply #81 on: December 18, 2005, 10:07:18 am »
Checked out 1541 and tested both unicode and ansi builds.  CRC calculation is correct and the crash is fixed.

CRC calculation, while non-zero, is not correct, but whatever. As long as it returns a unique number for an input it's fine?

I fixed the syntax highlighting bug. Put yet another patch on SF...

Edit: I hate sf... I get this at least once a night when I'm trying to post something, plus it won't remember that I want my login remembered (across browser restarts)!!

Quote
We're Sorry.
The SourceForge.net Website is currently down for maintenance.
We will be back shortly
« Last Edit: December 18, 2005, 10:19:37 am by 280Z28 »
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool:

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: unknown exception
« Reply #82 on: December 18, 2005, 03:21:05 pm »
It is using wxUInt32 now, that is as much cross-platform-32bits as we can get.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: unknown exception
« Reply #83 on: December 18, 2005, 06:01:56 pm »
It is using wxUInt32 now, that is as much cross-platform-32bits as we can get.

Yep, that's the one :)
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool: