On 06.06.2024 11:16, Sven Barth via fpc-pascal wrote:
Ondrej Pokorny via fpc-pascal
schrieb am Do., 6. Juni 2024, 09:30:
Hello,
I am on Windows 64bit, but using the i386 compiler.
I have to link a 3rd party OBJ file with {$L 'xyz.obj'}.
With the internal linker I get these e
oh, it's writeln which is doing the runtime check, thanks. Doing math on enums
is probably not a smart idea though. I wonder why a subscript like [] was never
added to enums. It would be nice to do:
f := Fruit[banana.index + 1];
instead of dealing with raw values. A runtime check for creating e
Ondrej Pokorny via fpc-pascal schrieb am
Do., 6. Juni 2024, 09:30:
> Hello,
>
> I am on Windows 64bit, but using the i386 compiler.
>
> I have to link a 3rd party OBJ file with {$L 'xyz.obj'}.
>
> With the internal linker I get these errors:
> Error: COMDAT selection mode 0 not supported (section
On 06.06.2024 09:19, Ondrej Pokorny via fpc-pascal wrote:
writeln() converts the ordinal value to the value name and if the
entry is not found, the 107 error is raised.
Ondrej
On 06.06.2024 06:22, Hairy Pixels via fpc-pascal wrote:
[ ... ]
how this works at runtime is another question.
To f
writeln() converts the ordinal value to the value name and if the entry
is not found, the 107 error is raised.
Ondrej
On 06.06.2024 06:22, Hairy Pixels via fpc-pascal wrote:
This program below crashes because the value 12 is not in the enum. I was curious though,
how does it know this? Does i
Hello,
I am on Windows 64bit, but using the i386 compiler.
I have to link a 3rd party OBJ file with {$L 'xyz.obj'}.
With the internal linker I get these errors:
Error: COMDAT selection mode 0 not supported (section: "0")
Error: Failed reading coff file, invalid section index while reading xyz.o