Re: [fpc-pascal] Building FPC for Windows X64

2016-02-26 Thread Jonas Maebe
Justin Smyth wrote: iget these errors.. This now seems to be solved: http://forum.lazarus.freepascal.org/index.php?topic=31589.new;topicseen#new Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/

Re: [fpc-pascal] Include directive for current procedure/method/function name?

2016-02-26 Thread Graeme Geldenhuys
On 2016-02-26 07:00, Sven Barth wrote: > Yes, it was a relatively recent addition. In the mean time (as I only use FPC 2.6.4 and FPC 3.0) I tried to use GetLineInfo internally instead, that gives the the same result (though I guess with more overhead). Unfortunately GetLineInfo() [for DWARF] is i

[fpc-pascal] Tar messages when running the installscript from fpc-3.0.0.i386-linux.tar.

2016-02-26 Thread Bart
Hi, I installed fpc 3.0 on my "new" Debian system, running the script form fpc-3.0.0.i386-linux.tar. This shell script will attempt to install the Free Pascal Compiler version 3.0.0 with the items you select Install prefix (/usr or /usr/local) [/usr] : /usr/local Installing compiler and RTL for

[fpc-pascal] Official/recommended citations for scientific papers

2016-02-26 Thread Žilvinas Ledas
Hello all, this is a cross-post to FPC-Pascal and Lazarus mailing lists. I'm finishing my PhD thesis and because I was implementing some partial differential equation solvers and visualization/image processing tools using FPC and Lazarus, I need to add some references. I was wandering are the

Re: [fpc-pascal] Tar messages when running the installscript from fpc-3.0.0.i386-linux.tar.

2016-02-26 Thread Mark Morgan Lloyd
Bart wrote: Hi, I installed fpc 3.0 on my "new" Debian system, running the script form fpc-3.0.0.i386-linux.tar. This shell script will attempt to install the Free Pascal Compiler version 3.0.0 with the items you select Install prefix (/usr or /usr/local) [/usr] : /usr/local Installing compil

Re: [fpc-pascal] Tar messages when running the installscript from fpc-3.0.0.i386-linux.tar.

2016-02-26 Thread Bart
On 2/26/16, Mark Morgan Lloyd wrote: > Are you sure you are using the standard tar? What does tar --version > report? bart@simenon:~$ tar --version tar (GNU tar) 1.27.1 bart@simenon:~$ tar --help ... *Deze* tar gebruikt de volgende standaardwaarden: (This tar uses the following defaults) --for

Re: [fpc-pascal] Tar messages when running the installscript from fpc-3.0.0.i386-linux.tar.

2016-02-26 Thread Bart
On 2/26/16, Bart wrote: > Should I be concerned about the "tar: Een los blok met nullen op 1527" > messages? > (It roughly translates to: "tar: A separate/isolated/loose(?) block > with zeros at 1527" The original message is: "A lone zero block at %s" Bart __

Re: [fpc-pascal] Tar messages when running the installscript from fpc-3.0.0.i386-linux.tar.

2016-02-26 Thread Bart
On 2/26/16, Bart wrote: > See: https://pear.php.net/bugs/bug.php?id=5452 and http://osdir.com/ml/gnu.tar.bugs/2007-04/msg00047.html "Use --ignore-zeros command line option" Bart ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists

Re: [fpc-pascal] Tar messages when running the installscript from fpc-3.0.0.i386-linux.tar.

2016-02-26 Thread Bart
On 2/26/16, Bart wrote: > The original message is: "A lone zero block at %s" See: https://pear.php.net/bugs/bug.php?id=5452 "When extracting tar files created with PEAR::Archive_Tar, tar shows a warning like 'tar: A lone zero block at *'. The reason for the message is that newer GNU Tar impleme

[fpc-pascal] Codepage + class helper raises "Error identifier idents no member ..."

2016-02-26 Thread silvioprog
Hello, Consider the following code: === code === program project1; {$mode objfpc}{$H+} *//{$codepage utf8}* uses Classes; type TFoo = class helper for TStream public procedure Bar; end; procedure TFoo.Bar; begin end; var s: string = ''; m: TStream; begin m := TMemorySt

Re: [fpc-pascal] Codepage + class helper raises "Error identifier idents no member ..."

2016-02-26 Thread Bart
On 2/26/16, silvioprog wrote: > It compiles fine, but when you uncomment the line "//{$codepage utf8}", it > raises: > > 'Error: identifier idents no member "Bar"' Same here. fpc 3.0.0 win32. Bart ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: [fpc-pascal] Codepage + class helper raises "Error identifier idents no member ..."

2016-02-26 Thread silvioprog
On Fri, Feb 26, 2016 at 8:29 PM, Bart wrote: > On 2/26/16, silvioprog wrote: > > > It compiles fine, but when you uncomment the line "//{$codepage utf8}", > it > > raises: > > > > 'Error: identifier idents no member "Bar"' > > Same here. > fpc 3.0.0 win32. Oops, I forgot to show my env. ^^' L

Re: [fpc-pascal] Primitive Record Wrappers

2016-02-26 Thread Mazola Winstrol
Hello, In the code bellow, the generic type TNullableTyple is implemented (and incomplete for now). Is there any possibility of "nullable types" be added to RTL or anyother fpc provided package? unit NullableTypes; {$mode delphi}{$H+} interface type { TNullable } TNullable = record s

Re: [fpc-pascal] Primitive Record Wrappers

2016-02-26 Thread Dmitry Boyarintsev
On Fri, Feb 26, 2016 at 10:38 PM, Mazola Winstrol wrote: > In the code bellow, the generic type TNullableTyple is implemented (and > incomplete for now). > How to reset TNullableType to Null value? HasValue seems to be read-only. > Is there any possibility of "nullable types" be added to RTL or