4 ms·
The odd minor versions are never released as official builds, but they are official versions. You'll need to build it yourself which isn't that hard. Keep in mi
by sysrpl 8y ago
The odd minor versions are never released as official builds, but they are official versions. You'll need to build it yourself which isn't that hard. Keep in mind fpc, the compiler, is separate from Lazarus, but if you want to use Lazarus with fpc 3.1.x you need to build Lazarus using fpc 3.1.x. Again it's not that hard (make all).
The change we're talking about automatically invokes Initialize and Finalize on all types for dynamic allocations / destruction, unless they intentionally circumvent it. Intentional circumvention might include allocating raw memory in a class and treating the class like an array with an index property. In other words, if you declare a raw pointer, allocate untyped memory (e.g. bytes), and handle something back from that memory using a typecast, then you are bypassing automatic allocation and destruction.
All other ways to make space for complex types (records and classes) as well as types which may hold complex types (arrays and nested fields) will safely and reliably use Initialize and Finalize when needed if they are defined.
- edwinyzh 8y ago>You'll need to build it yourself which isn't that hard. Or use fpcupdeluxe with several clicks, screenshot here: https://screenpresso.com/=iyqoc https://screenpresso.com/=iyqoc