RECT causes syntax error in structure in 2025 R2

I just compiled a large project with 2025 R2 and got the following error:

Fixing it is easy, just rename my RECT structure to RECT_32:

Did RECT become a reserved word recently?

Well, Rect has been a class within Xojo for a few years now.

3 Likes

I just tested, and using “RECT” as a structure name works fine in Xojo 2019, so it must have changed over the years at some point…