News:

Download Pelles C here: http://www.pellesc.se

Main Menu

Recent posts

#11
Bug reports / Re: Some fonts are missing fro...
Last post by John Z - Yesterday at 04:49:07 PM
You could be right, seems like it.  Did you check windows settings, personalization, fonts ..... that would be definitive if it is not showing there.

You might try Microsoft Store and see if the font is available to be installed.

John Z
#12
Bug reports / Re: Maybe a optimization bug.
Last post by John Z - Yesterday at 04:43:36 PM
Hi ander_cc,

A good lesson there similar to a lawyers credo "In Court don't ask a question if you don't already know the answer"  the corollary to teaching, esp programing, is "In classroom don't use an example you haven't tested"  :)  (half kidding you, no offense meant)

But seriously yes there have been, and are issues, with using the optimizations and extensive testing is always needed for these.  I have many programs using optimizations successfully.

Perhaps Pelle can find the cause of this short program, meanwhile

Your program can use optimizations by using this 'fix':

volatile int i=1;

which, as I understand it inhibits the optimizer from making assumptions about i.

John Z

As an aside I would recommend not using any optimizations for teaching.  Optimizing should be performed by the students learning programing.

Cheers,
#13
Bug reports / Maybe a optimization bug.
Last post by ander_cc - Yesterday at 03:38:30 PM
Today, I showed a sample code about while statement to my students. But got a error result. :-[
I think it might be a bug related to optimization. Because when I close optimization, I can get the right value.

Pelles C v14, Windows 11 pro Chinese (Samplify) 25H2
You cannot view this attachment.
#14
Bug reports / Re: Some fonts are missing fro...
Last post by ander_cc - Yesterday at 03:28:05 PM
Quote from: John Z on Yesterday at 01:55:09 PMHi ander_cc,

On my system the Cascadia fonts are there. See attachment.
Windows 11 Home 25H2, so seems they 'should' be there on Pro . . . it is not a Pelles IDE issue I think...

Try going to windows settings, personalization, fonts, then see what is there.

John Z

P.S. The title on the resource 9 file also shows 13 I believe
I also try it in my laptop, it is Win11 Home 25h2, and a Win10 pc, but miss some fonts too. Maybe this issue is only related to the Windows Chinese Edition.
#15
Bug reports / Re: Some fonts are missing fro...
Last post by John Z - Yesterday at 01:55:09 PM
Hi ander_cc,

On my system the Cascadia fonts are there. See attachment.
Windows 11 Home 25H2, so seems they 'should' be there on Pro . . . it is not a Pelles IDE issue I think...

Try going to windows settings, personalization, fonts, then see what is there.

John Z

P.S. The title on the resource 9 file also shows 13 I believe
#16
General discussions / Re: Chinese Simplify translati...
Last post by John Z - Yesterday at 10:31:13 AM
Hi ander_cc,

Great!

Tip:  To run multiple languages easily create a desktop shortcut for each language.
Here is an example shortcut target properties for Chinese:

C:\Program Files\PellesC_V14\Bin\poide.exe" /l 0004  <- Lower case L

This way switching languages is a matter of selecting the right shortcut.

John Z
#17
General discussion / Re: Pelles C and Windows Defen...
Last post by John Z - Yesterday at 10:18:28 AM
Hi italofutra,

Quote from: italofutura on Yesterday at 08:22:10 AMHi,

I tried to install Pelles C on my employer provided Windows 11 laptop. I do not have admin rights on this laptop.

when I try to install Pelles C a smart screen  appears, but due to lack of administrator privileges, I cannot proceed.

Other software works. Is it because Pelles C binaries are not signed? If yes, why?

Just in the rare case Timo's suggestion does not work - 

If you are still having issues you might try to unblock it first and then install to a folder other than Program Files xxx.  To unblock when downloading from the internet use the properties dialog see image.  If you can't unblock on the chief's laptop then download the setup on your laptop then unblock it and put on a USB.  Then try a standard install, or install to a 'user' folder.

John Z
#18
General discussion / Re: Pelles C and Windows Defen...
Last post by italofutura - Yesterday at 09:31:07 AM
Not a bad suggestion at all.

Normally for OpenWatcom V2, I decompress the executable with 7-zip. This is not possible with PellesC, but the principle is the same.

I will follow your solution.

Thank you.
#19
General discussion / Re: Pelles C and Windows Defen...
Last post by TimoVJL - Yesterday at 08:58:39 AM
Just install Pelles C to another PC and pack folder and use it other PC.
Pelles C is portable and works from USB-stick.
Sometimes have to adjust settings for INCLUDE and LIB folders.
#20
Bug reports / Some fonts are missing from th...
Last post by ander_cc - Yesterday at 08:58:13 AM
Like "Cascadia Mono", I can't see it in font name list. But can set in theme file.
Btw: When I was translating rc file, I noticed line 3409 had still read "version 13.00".
See attach files.
Pelles C v14, Windows 11 pro Chinese (Samplify) 25H2