Am Di., 27. Nov. 2018, 15:08 hat Ryan Joseph
geschrieben:
> > You did read the part about the generic and the specialization being
> located in two different units? š
>
> Oops. This still works so I guess itās ok.
>
> program gc_ppu;
> uses
> gc_types_unit;
>
> var
> a: specialize
On Tue, Nov 27, 2018 at 9:55 AM Ryan Joseph
wrote:
>
> Is there is a way I can add
> "-Fl/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/libā to that
> command so it finds the file?
>
> make
OPT='-Fl/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib
...extra options...'
Since upgrading to Mac OS 10.14 a file has moved in the system which needs to
be linked to. Iām able to work around this by adding a search path to the
compiler options but when building the /packages directory from sources I run
into problems:
cd /Developer/ObjectivePascal/fpc-git/packages;mak
> On Nov 27, 2018, at 8:11 PM, Sven Barth via fpc-pascal
> wrote:
>
> We can add a new message that says "type id or untyped constant expected".
> But if it correctly errors right now, we can leave it be for now.
>
Fine by me.
> You did read the part about the generic and the specializati
Am Di., 27. Nov. 2018, 14:00 hat Ryan Joseph
geschrieben:
>
>
> > On Nov 27, 2018, at 5:35 PM, Sven Barth via fpc-pascal <
> fpc-pascal@lists.freepascal.org> wrote:
> >
> > 1) kSomeDays is a typed const so I get a load node instead of
> tsetconstnode, which I need to need to know in order to make
Am Di., 27. Nov. 2018, 12:03 hat Mattias Gaertner via fpc-pascal <
fpc-pascal@lists.freepascal.org> geschrieben:
> On Tue, 27 Nov 2018 11:35:22 +0100
> Sven Barth via fpc-pascal wrote:
>
> >[...]
> > > const
> > > kSomeDays:TDays = [Mon, Wed];
> >[...]
> > The difference between typed and
> On Nov 27, 2018, at 5:35 PM, Sven Barth via fpc-pascal
> wrote:
>
> 1) kSomeDays is a typed const so I get a load node instead of tsetconstnode,
> which I need to need to know in order to make the name string. See the TODOās
> in tgenericparamdef.create.
>
> type
> TDay = (Mon, Tu
On Tue, 27 Nov 2018 11:35:22 +0100
Sven Barth via fpc-pascal wrote:
>[...]
> > const
> > kSomeDays:TDays = [Mon, Wed];
>[...]
> The difference between typed and untyped constants are available
> everywhere else in the language as well, so I have no qualms (at
> least for now?) to error ou
Am Di., 27. Nov. 2018, 08:18 hat Ryan Joseph
geschrieben:
>
>
> > On Nov 27, 2018, at 4:59 AM, Sven Barth via fpc-pascal <
> fpc-pascal@lists.freepascal.org> wrote:
> >
> > Best check again once you've done the switch to tconstsym for constants.
> :)
> >
>
> I made most of the changes you mention
> On Nov 27, 2018, at 2:25 PM, denisgolovan wrote:
>
> Hi
>
> Sorry for breaking in, but I'd like to know if this functionality supports
> specializing generic functions with const parameters?
>
> BR,
> Denis
Hereās my test which seems to be working.
program gc_procs;
generic procedure Do
10 matches
Mail list logo