Section 4.4 about initialized variables: Strange Formatting
Original Reporter info from Mantis: UlrichUlrich
-
Reporter name: Ulrich Eduard
Original Reporter info from Mantis: UlrichUlrich
- Reporter name: Ulrich Eduard
Description:
The remark about the impossibility to write to const memory is difficult to understand.
This is how it looks like after pasting it, but the two attached screenshots from the PDF and the HTML version show the real problem.
Remark: Care should be taken when using initialized pointer types such as PChars. In the following examples, S is a pointer, pointing to a block of constant (read-only) program data. Assigning S
0
will therefor not work. Assigning S itself will of course work.
Mantis conversion info:
- Mantis ID: 34398
- Version: 3.2.0
- Fixed in version: 3.3.1
- Fixed in revision: 1514 (#3be96f16)
- Target version: 3.2.0