ahausladen / JsonDataObjects

JSON parser for Delphi 2009 and newer
MIT License
413 stars 160 forks source link

Fix for XE7 compilation error #27

Closed WouterVanNifterick closed 8 years ago

WouterVanNifterick commented 8 years ago

Hi, I had some problems compiling the TBCEditor control, because of a compilation error with XE7 (no updates installed).

See: https://github.com/bonecode/TBCEditor/issues/400

The fix was to remove "overload" from TJsonStringBuilder.AppendIntro (which doesn't have any overloads). Without that change, XE7 doesn't seem to understand that you try to pass a method pointer instead of executing it. It's probably a bug in the compiler, but the fix seems to be easy and I don't think it'll affect other versions.