The MASM Forum

Projects => Poasm => Pelle's C compiler and tools => Topic started by: TimoVJL on April 02, 2025, 11:41:10 PM

Title: Release Candidate for version 13.00 is now available
Post by: TimoVJL on April 02, 2025, 11:41:10 PM
http://www.smorgasbordet.com/pellesc/download.htm (http://www.smorgasbordet.com/pellesc/download.htm)

What a happy day  :thumbsup:
Title: Re: Release Candidate for version 13.00 is now available
Post by: jj2007 on April 03, 2025, 06:49:46 PM
Works like a charm. However, you won't see any symbols in Olly if you use this version of polink.exe in your assembly programs. Keep the old polink version. You have been warned :cool:
Title: Re: Release Candidate for version 13.00 is now available
Post by: Vortex on April 05, 2025, 09:10:47 PM
Release Candidate #2 is available :

http://www.smorgasbordet.com/pellesc/download.htm (http://www.smorgasbordet.com/pellesc/download.htm)
Title: Re: Release Candidate for version 13.00 is now available
Post by: shantanu on May 02, 2025, 02:20:44 AM
I wonder why Pelle doesn't name the setup file as per the version number.
It helps to download and store the installers together.

Something like:
pellesc_setup_1200.exe
pellesc_setup_1300rc1.exe

I assume Windows treating files named "setup.exe" special is still a thing!
Title: Re: Release Candidate for version 13.00 is now available
Post by: Quin on May 02, 2025, 02:57:15 AM
I've wondered that too, I am not a fan of the setup.exe installer name for Pelles C, I've come across it months later and had utterly no idea what it was  :skrewy:
Title: Re: Release Candidate for version 13.00 is now available
Post by: Vortex on May 02, 2025, 03:15:04 AM
Hi shantanu,

If you are on Windows 10\11, you can try the command-line tool curl to download and rename the installer.
Title: Re: Release Candidate for version 13.00 is now available
Post by: TimoVJL on May 02, 2025, 03:41:29 AM
Thanks for a tip  :thumbsup:
wget -O setup_v13.exe http://www.smorgasbordet.com/pellesc/1300/setup.exe
This works too:
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <commdlg.h>
#include <urlmon.h>

#pragma comment(lib, "urlmon.lib")

void __cdecl mainCRTStartup(void)
{
    HRESULT hRC = URLDownloadToFile(NULL, "http://www.smorgasbordet.com/pellesc/1300/setup.exe", "pocinst13.exe", BINDF_GETNEWESTVERSION, NULL);
    ExitProcess(0);
}

Title: Re: Release Candidate for version 13.00 is now available
Post by: zedd on May 02, 2025, 03:42:27 AM
Quote from: shantanu on May 02, 2025, 02:20:44 AMI assume Windows treating files named "setup.exe" special is still a thing!
As well as files with "installer" in their name.
Title: Re: Release Candidate for version 13.00 is now available
Post by: Vortex on May 02, 2025, 04:19:31 AM
Hi Timo,

Here is where to get wget for Windows :

https://eternallybored.org/misc/wget/ (https://eternallybored.org/misc/wget/)

Title: Re: Release Candidate for version 13.00 is now available
Post by: TimoVJL on May 07, 2025, 03:31:59 AM
Release Candidate 3 is available  :thup:
Title: Re: Release Candidate for version 13.00 is now available
Post by: Quin on May 07, 2025, 03:34:47 AM
Weee!
Thanks for informing me Timo, I don't check the Pelles forums as often as here.
Title: Re: Release Candidate for version 13.00 is now available
Post by: Vortex on May 22, 2025, 12:24:05 AM
Announcement by Pelle :

Version 13.00 is now released

QuoteChanges from Release Candidate #3:

Fixed compiler problem initializing array of compatible integer type, but not exact character type, from string literal.
Fixed compiler problem with intrinsic function ending up as a call to a runtime function, and the intrinsic function was used in a small leaf function not otherwise requiring an aligned stack, and the runtime function did (conditionally) more calls on the unaligned stack causing and exception (at least with Windows API functions).
Fixed compiler problem with __declspec(selectany) sometimes placing the immediately following data object(s) in the same (wrong) section. May pass unnoticed, but could trigger an exception if a read/write object was placed in a read-only section (and later written to). Ugh.
Fixed assembler problem with first optional argument to INSTR directive, and @InStr() macro, not being accepted unless it starts with an integer constant (now identifiers are also allowed).
Added IDE syntax coloring of false and true C keywords (no language mode for this, but the C23 spelling of bool was already done so...)

http://www.smorgasbordet.com/pellesc/download.htm (http://www.smorgasbordet.com/pellesc/download.htm)
Title: Re: Release Candidate for version 13.00 is now available
Post by: Quin on May 22, 2025, 12:25:24 AM
Very nice! Thanks for sharing Vortex, and thanks to Pelle, although he'll probably never see it :D