Michael Van Canneyt said: > > On Wed, 9 Jun 2004, Tomas Hajny wrote: > >> From: [EMAIL PROTECTED] >> Date: Wed, June 9, 2004 10:19 >> >> > 2. In x:\pp\examples\pasjpeg\ i tried to compile demo.pas, >> > but the units TEST.PAS and EXAMPLE.PAS are missing. I downloaded >> > these files, but during compilation i got error "Can't find unit >> jdapistd" >> > even these compiled files are in >> > x:\pp\units\go32v2\pasjpeg\jdapistd.*. This happen only in DOS >> window under Windows 2003, under pure DOS compiler found this unit >> jdapistd, but despite this program doesn't work. Maybe i have a >> false version of test/example.pas files. >> >> There are (at least) two problems there: >> >> 1) /packages/base/pasjpeg/Makefile.fpc should be changed by appending >> " test examples" to the end of line 17 ("examples=..."). >> >> 2) examples.pas cannot be compiled in default mode as it is now (it >> needs -Sd for successful compilation). We should change it to the >> default syntax (missing '@' on line 351 in example.pas). > > No, we should add {$mode delphi}, because other features of delphi are > needed.
Well, it compiled for me without any other changes, so it could be probably corrected both ways. In addition, I think that the native syntax should be preferred for our examples. BTW, Michael, can you do the two corrections (Makefile.fpc and examples.pas), please (I wouldn't be able to do that before my holiday). Regarding doc-htm.zip - can you generate the correct version with short names and rename the current one to doc-html.zip, please? Thanks Tomas _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal