fredvs <fi...@hotmail.com> schrieb am Fr., 2. Aug. 2019, 13:27: > > No, It's > 030300, but your version of trunk is too old, the function > > was only added a few days ago. > > Ha, ok. (but a few tricky, a new number for a new feature would be ok too). >
By definition only the latest version of trunk is considered supported. Also that's the version number of the compiler. That won't be increased for every little thing that gets added. That said instead of checking for the version you can also check for the existence of the function: {$if declared(AlignTParamFlags)} This works with any identifier that is in scope (e.g. in this case the TypInfo unit must be used, but that is the case here anyway). Regards, Sven >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal