Indeed updating FPC is your solution, it compiles in my 2.7.1 revision -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Generic-nested-type-forward-declaration-not-solved-tp5712577p5712579.html Sent from the Free Pascal - General mailing list archive at Nabble.com.