Is it possible to use array of const inside of generics?
Quick example I just typed up. If you specialize the generic the compiler
always complains about the type in array of const not being the specialized
type. Type casting doesn’t work either because you may have specialized for
incompatibl
Am 02.03.2017 10:42 schrieb "Ryan Joseph" :
>
> Is it possible to use array of const inside of generics?
>
>
> Quick example I just typed up. If you specialize the generic the compiler
always complains about the type in array of const not being the specialized
type. Type casting doesn’t work either
> On Mar 2, 2017, at 5:45 PM, Sven Barth wrote:
>
> "array of const" itself should work without problems though mixing the type
> parameters and the values contained in the array might be problematic (I'd
> need to test it myself).
It doesn’t work from my tests.
> However for your specific e
Am 02.03.2017 14:17 schrieb "Ryan Joseph" :
>
>
> > On Mar 2, 2017, at 5:45 PM, Sven Barth
wrote:
> >
> > "array of const" itself should work without problems though mixing the
type parameters and the values contained in the array might be problematic
(I'd need to test it myself).
>
> It doesn’t w
On 01/03/17 23:38, Bo Berglund wrote:
On Wed, 1 Mar 2017 22:04:26 +0100, Jonas Maebe
wrote:
On 01/03/17 21:55, Bo Berglund wrote:
Am I still supposed to use 2.6.4 as compiler to build 3.0.2?
I am getting an error about the "seed" compiler when I try to build
3.0.2 with a 3.x compiler
Yo
Can I use this to make a conditional compilation?
{$IFDEF charlie, oscar}
main,
{$ENDIF}
Where I want main to be included if one or both of charlie and oscar
are defined symbols.
So in effect the condition triggering main would be charlie OR oscar..
If not then how else should I include main i
On 02/03/17 20:39, Bo Berglund wrote:
Can I use this to make a conditional compilation?
{$IFDEF charlie, oscar}
main,
{$ENDIF}
Where I want main to be included if one or both of charlie and oscar
are defined symbols.
So in effect the condition triggering main would be charlie OR oscar..
{$i
Hi,
Why do I need fpc 3.0.0 to build 3.0.3?
Shouldn't that be 3.0.2?
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal