Release Candidate #1 for version 14.00 now available

Started by Pelle, March 15, 2026, 06:39:56 PM

Previous topic - Next topic

John Z

Weirdness

On a rather large 64 bit program V14 keeps popping up a message box "The main.rc has been changed outside of the editor. Do you want to reload it?"  Even if clicking Yes and Save All, next build/run it pops up again.  Needless to say. but I will, nothing I am doing is changing the .rc file. It happens immediately after starting the program within the IDE environment.  Checking the .rc file date-time, it is changed to the time the program was started.  When I run the program outside of the IDE in the same directory, the .rc file does not change date-time.

Same program V14 complains about an invalid character in file.c which is 1252 ANSI Latin-1 and will not open it in the editor.  The file shows no invalid characters in TextPad editor. Even though V14 says invalid character and won't open it, it compiles without complaint and the final exe is created.  Also clicking on the + to display file.c procedures works, just can't get it into the editor no matter which proc is clicked. Related to issue 1 maybe I don't know.

Verified under V13 neither of these issues exist.  However bug? or code? I don't know for sure.


It is a big program (vcardz_i) with a lot of features to test so possibly more issues.

Unfortunately I think I'm not going to be able to develop a minimum program to demo.

I've tested about 20 small programs w/o issue running in Windows 11 with a MOVBE capable processor.  I haven't tried the resulting programs in Win 7 with a MOVBE incapable processor.

John Z

Michele

Quote from: John Z on Yesterday at 03:33:23 PMWeirdness

On a rather large 64 bit program V14 keeps popping up a message box "The main.rc has been changed outside of the editor. Do you want to reload it?"  Even if clicking Yes and Save All, next build/run it pops up again.  Needless to say. but I will, nothing I am doing is changing the .rc file. It happens immediately after starting the program within the IDE environment.  Checking the .rc file date-time, it is changed to the time the program was started.  When I run the program outside of the IDE in the same directory, the .rc file does not change date-time.
I had a similar problem, the cause was an addin that increments the build number at each compilation.

TimoVJL

Quote from: John Z on Yesterday at 10:50:20 AMTesting many programs now, but a question -

Will each program compiled in V14_RC1 on a 'modern' CPU then need to be run/tested on a Windows 7 system and/or with an older CPU not supporting the MOVBE op code?

Essentially will programs completed with V14 possibly include the MOVBE op code in the exe?

GDIpTest program fails under V14, but OK under V13. Not sure why yet no error during creation but crashes on opening file to display. Sources , picture and exe files included.  The picture is what makes the upload so large but wanted to include exact test case.  Can be deleted later to release space.  Didn't find MOVBE in the exe btw


John Z

Seems you can use a HEX Editor and search for HEX 0F38F1 (found in several places poide.exe) or 0F38F0
If project build as stdcall, it didn't crash.
May the source be with you

John Z

Thanks Michele

Quote from: Michele on Today at 09:12:40 AMI had a similar problem, the cause was an addin that increments the build number at each compilation.

You nailed it in one!  Seems the V14_RC1 did not include Timo's update for that Add-In.
Disabling it fix that issue.

Thanks,
John Z

John Z

Thanks Timo,

Quote from: TimoVJL on Today at 10:39:41 AMIf project build as stdcall, it didn't crash.

So the problem/issue or bug is with _fastcall in V14 acting differently from V13.

Appreciation,

John Z

Vortex

Attached is a simple GUI built with Pelles C V14 RC1. Can be Useful to test the movbe issue.
Code it... That's all...

Pelle

Thank you all!

( I got side-tracked hunting down an elusive ARM64 bug )

The MOVBE support isn't essential. I can' live without it. Seems like less hassle to simple comment out the eight code generator rules producing this instruction.

I will rebuild everything (as usual) for Release Candidate #2. I need a few days for this.

/Pelle