[fpc-pascal] Incorrect IDE Messages error line

Jonas Maebe jonas at freepascal.org
Fri Nov 1 12:07:38 CET 2019


On 29/10/2019 10:09, Alexey Tor. wrote:
> Compile Project, Mode: linux x64 qt5, Target:
> builds/linux-x64-qt5/cudatext: Exit code 1, Errors: 3
> Error: /home/user/lazarus/lcl/units/x86_64-linux/qt5/qtwidgets.o: In
> function `SETTEXTHINT':
> Error: /home/user/lazarus/lcl/interfaces//qt5/qtwidgets.pas:10156:
> undefined reference to `QTextEdit_setPlaceholderText'
> cudatext.lpr(37,1) Error: Error while linking
> 
> See double // before 'qt5' in last file path?
> IDE cannot jump to that file from Messages window.

That error message is not printed by the compiler, but by the linker.
That said, a double / is perfectly valid in a path (it's the same as a
single /), so it should be fixed in Lazarus.


Jonas


More information about the fpc-pascal mailing list