Pelles C forum

Pelles C => Announcements => Topic started by: Pelle on September 23, 2005, 08:16:00 PM

Title: Version 4.00 Beta #6 available
Post by: Pelle on September 23, 2005, 08:16:00 PM
Maybe the final beta (with a bit of luck)...?

Note: The project file (*.ppj) version is different, so once loaded in 4.0 they will not load in any previous version.

Changes from Beta 5 to Beta 6:

* bugfix: Pocket PC need special definition for WIN32_FIND_DATAW (for some reason not same as desktop Windows).
* bugfix: converting from time_t to struct tm should now work for time_t values up to MAX_INT.
* Modified C runtime support for time zones - might affect localtime() and other functions, like ctime().
* Added support for _opendir, _closedir, _rewinddir, _readdir on Pocket PC (including compatibility names opendir, closedir, rewinddir, readdir).
* Added support for 'macro character escape' in project files (POIDE and POMAKE) - use $$ for a literal $ (which I doubt you ever need).

Changes to version 4.00:
http://www.smorgasbordet.com/pellesc/changes_300_400.htm

Main setup:
http://www.smorgasbordet.com/pellesc/400/setup.exe

Add-in setup:
http://www.smorgasbordet.com/pellesc/400/setupsdk.exe

Pelle
Title: Version 4.00 Beta #6 available
Post by: TimoVJL on September 23, 2005, 09:02:37 PM
I wish You a lot of luck and thank You for this superior software !!
Title: Version 4.00 Beta #6 available
Post by: Pelle on September 24, 2005, 12:09:25 AM
Thanks! :-)

Pelle
Title: Version 4.00 Beta #6 available
Post by: JohnF on September 24, 2005, 08:12:34 AM
Pelle, the other day I tried to compile a huge array

unsigned char ARR[] = {  
  77, 90, 144, 0, 3, 0, 0, 0, 4, 0,
  0, 0, 255, 255, 0, 0, 184, 0, 0, 0, 0,
  0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0,
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  0, 0, 0, 0, 0, 0, 216, 0, 0, 0, 14,
  31, 186, 14, 0, 180, 9, 205, 33, 184, 1, 76,
  205, 33, 84, 104, 105, 115, 32, 112, 114, 111, 103,
  114, 97, 109, 32, 99, 97, 110, 110, 111, 116, 32,
etc, etc.

pocc.exe apparently gets stuck with this extreme situation, left the compiler running for a few minutes, it doesn't complete. Compiled it in another compiler to check the size, it was 205k.

John
Title: Version 4.00 Beta #6 available
Post by: Pelle on September 24, 2005, 04:36:36 PM
Quote from: "JohnF"
Pelle, the other day I tried to compile a huge array

Hm... OK.

I think it may be useful to try your exact array snippet, rather than fabricate a huge array myself. If it's too big to post, maybe you can mail it?

Pelle
Title: Version 4.00 Beta #6 available
Post by: JohnF on September 24, 2005, 05:05:57 PM
Done!

John
Title: Version 4.00 Beta #6 available
Post by: Pelle on September 24, 2005, 09:01:13 PM
Thanks!

It's a performance problem - the compiler will do the right thing...

(............................................................)

...eventually...

I will wait a little before uploading - in case there are more "real" bugs...

Pelle