Duplicate asm label with generics
- FPC 3.3.1 9d6b66c9
- Windows 10 64 bit
Sorry, but not sure which part in the units causes the error / unfortunately not having the time to do the trial and error to reduce the amount of source needed.
fpc.exe tspecialize_inline.pas
Free Pascal Compiler version 3.3.1 [2025/11/17] for x86_64
Copyright (c) 1993-2025 by Florian Klaempfl and others
Target OS: Win64 for x64
Compiling tspecialize_inline.pas
tspecialize_inline.pas(160,23) Warning: Function result does not seem to be set
tspecialize_inline.pas(194,3) Note: Local variable "c" is assigned but never used
tspecialize_inline.pas(256,24) Warning: Function result does not seem to be set
tspecialize_inline.pas(293,23) Warning: Function result does not seem to be set
tspecialize_inline.pas(331,24) Warning: Function result does not seem to be set
tspecialize_inline.pas(428,18) Warning: Function result does not seem to be set
Error: Asm: Duplicate label P$TSPECIALIZE_INLINE$_$TCLASSMAIN1_$__$$_CALLM1
Error: Asm: Duplicate label P$TSPECIALIZE_INLINE$_$TCLASSMAIN1_$__$$_CALLM1
tspecialize_inline.pas(474,1) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
Edited by Martin