> How can I rewrite this code to make it correct? I want to use constants to calculate offsets from untyped pointer.
You don't have to: http://wiki.freepascal.org/Lazarus_Faq#.27Fatal:_Internal_error_XXXXYYZZW.27 so just report and wait for a fix, or fix it yourself if you can then post a patch (unless it's already fixed). You are using development version so a feature break is normal. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Internal-error-200706094-tp5720190p5720201.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal