I fix this a little while ago in trunk. 1.0.10 should be free from this bug. What's your fpc version? -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Lazarus-Compile-Error-tp4031986p4031988.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.