Download Pelles C here: http://www.pellesc.se
Quote from: Pelle on March 30, 2026, 01:36:57 PM2) What is your setting for "Options" -> "Source editor" -> "Default encoding, source files" ?
Quote from: John Z on March 30, 2026, 12:46:25 PMThe only different thing I see is with a single C file that was 'OK' under V13 but is reported as having illegal character(s) under V14. I could not find any bad character(s) and other text editors did not show or complain either. Finally I just used TextPad to re-save the file as UTF-8, with BOM, then it was acceptable to V14, nothing looked different...1) Can I somehow look at the "broken" file ?
Quote from: John Z on March 30, 2026, 12:46:25 PMPerhaps a future enhancement could report the byte position of the 1st offending character so it would be easier to locate and correct.Properly formed text files should always load. Malformed text files should be uncommon enough that my time is better spent on more important tasks.
Quote from: TimoVJL on March 30, 2026, 11:14:14 AMThanks,Thanks. No problem.
that i can still use my an old PC full of an old C-code for testing new version.
NULL equ 0
MB_OK equ 0
EXIT_SUCCESS equ 0
area .rdata, data, readonly
message dcb "Hello, Windows on ARM64!", 0
title dcb "POASM test", 0
area .text, code
export main
import __imp_ExitProcess
import __imp_MessageBoxA
main function
stp fp,lr,[sp,#-16]!
mov fp,sp
mov x0,NULL
adrp x1,message
add x1,x1,message
adrp x2,title
add x2,x2,title
mov w3,MB_OK
adrp x8,__imp_MessageBoxA
ldr x8,[x8,__imp_MessageBoxA]
blr x8
mov w0,EXIT_SUCCESS
adrp x8,__imp_ExitProcess
ldr x8,[x8,__imp_ExitProcess]
blr x8
ldp fp,lr,[sp],#16
ret
endfunc
end
int main(void) {
MessageBoxA(NULL, "Hello, Windows on ARM64!", "POASM test", MB_OK);
ExitProcess(EXIT_SUCCESS);
}
Page created in 0.062 seconds with 15 queries.