[fpc-pascal] history

2005-09-13 Thread Bob Barry
In the course of trying to compile fpc docs, I compared file msg2inc.pp of svn to that of the fpc-2.0.0 source tarball. No change whatsoever had been made to the code, but all the revision history has been removed since fpc-2.0.0. This means that users will henceforth be unable to know who to tha

Re: [fpc-pascal] fpc 2.0 and DOM/xml under OS/2 gives me "Process terminated by SIGSEGV"

2005-09-13 Thread Søren Ager
On 09-09-05 23.35, Tomas Hajny wrote: Sorry, I had your e-mails (together with many other :-( ) in backlog from the time of my holiday... No problem - hope you had a great holiday. For the first question - the best way to find exact place of SIGSEGV etc. in FPC programs under OS/2 is to comp

Re: [fpc-pascal] About reset(aFile, FileNameString)

2005-09-13 Thread Lance Boyle
Thanks for the pointers 8^), y'all. Lance On Sep 13, 2005, at 8:02 PM, Adriaan van Os wrote: Lance Boyle wrote: "Official" Pascal for opening a file and associating a name with it (e.g., a disk file) goes like this: assign(aFile, FileNameString); reset(aFile); {or rewrite, etc.} Assi

Re: [fpc-pascal] About reset(aFile, FileNameString)

2005-09-13 Thread Adriaan van Os
Lance Boyle wrote: "Official" Pascal for opening a file and associating a name with it (e.g., a disk file) goes like this: assign(aFile, FileNameString); reset(aFile); {or rewrite, etc.} Assign is not "official" Pascal but a non-standard Turbo/Borland/Delphi Pascal extension. All of the P

Re: [fpc-pascal] Darwin compilation

2005-09-13 Thread Paul Davidson
This fix works, but now: h2pas.pas:5708:Fixup of 34988 too large for field width of 16 bits h2pas.pas:5683:Fixup of 35076 too large for field width of 16 bits h2pas.pas:5664:Fixup of 35140 too large for field width of 16 bits h2pas.pas:5622:Fixup of 35288 too large for field width of 16 bits h2pa

re: [fpc-pascal] About reset(aFile, FileNameString)

2005-09-13 Thread David Emerson
I usually just make a wrapper function, and keep it in a utility unit with some other similarly useful stuff. Here's my code: type reset_or_rewrite_enum_type = (resetit, rewriteit); function open_file (var f : file; file_name : ansistring; whattodo : reset_or_rewrite_enum_type) : boolean;

Re: [fpc-pascal] Darwin compilation

2005-09-13 Thread Florian Klaempfl
Paul Davidson wrote: > Darwin fails make all. Checked out revision 1075. > > genmath.inc(1115,28) Fatal: Internal error 200507161 > genmath.inc(1115,28) Fatal: Compilation aborted Fixed. > make[7]: *** [system.ppu] Error 1 > make[6]: *** [darwin_all] Error 2 > make[5]: *** [rtl] Error 2 > make[

[fpc-pascal] About reset(aFile, FileNameString)

2005-09-13 Thread Lance Boyle
"Official" Pascal for opening a file and associating a name with it (e.g., a disk file) goes like this: assign(aFile, FileNameString); reset(aFile); {or rewrite, etc.} All of the Pascals that I have used allowed the following shorthand, an extension: reset(aFile, FileNameString); {or rewri