Latest Pelles C, Windows 98 SE (didn’t tested in XP).
CHM help hangs up.• Add any CHM help file to Tools->Customize->Help Files.
• Select Help->Contents. Pelles C internal help window opens.
• Switch back to Pelles C and select Help->[Your CHM Help File]. Help window opens, and both help windows hang up.
Editor sometimes (when there is no newline at the end of file?) inserts random characters at the end of file.• File->New->Project->Win32 Console Program (EXE).
• File->New source code.
• Type “int main(void) {return 0;}” (without “” of course; don’t copy-paste; don’t press Enter).
• File->Save, “main.c”. Yes, you want to add it to the current project.
• It says that it cannot add file to a project because “target file cannot be determined from the source files extension”. (Btw, why does IDE look into a source code, why file extension is not enough?)
• Open “main.c” with hex-editor and you will see bytes 0x0d 0x43 after closing curly bracket. 0x43 can be any random byte and compiler produces many funny messages when it is 0x00. For example, today I got the following when tried to compile my project:
Building main.obj.
Y:\Projects\foo\bar.h(1): warning #1039: [ISO] No newline at end of file.
Y:\Projects\foo\bar.h(2): error #2036: Illegal character '\x0'.
Y:\Projects\foo\bar.h(2): error #2036: Illegal character '\x23'.
Y:\Projects\foo\bar.h(2): warning #2099: Missing type specifier.
Y:\Projects\foo\bar.h(2): error #2001: Syntax error: found '7' - expecting ';'.
Y:\Projects\foo\bar.h(2): error #2156: Unrecognized declaration.
Y:\Projects\foo\bar.h(2): warning #2176: Unrecognized character escape sequence '\P'.
…and so on…
---
2
frags bugs left (sometimes IDE wipes out a source code and sometimes I cannot close debugger). :-)