Micha Nelissen wrote: > Giulio Bernardi wrote: >> FPC raises an error on these lines: >> p^.data1:=1; >> p^.data2:=2; >> Tried with 2.2.0 and 2.3.1 (svn revision 8423). >> >> Is this a bug (should I report this to mantis?) or a feature? > > How are you specializing this generic ?
Never mind, it's in the lines before. Seems like fpc doesn't allow dereferencing a variable of a generic type in any way. The expression p^ will generate the error. Micha _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
