Incorrect IDE Messages error line

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Incorrect IDE Messages error line

AlexeyT
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.

user@user-Notebook:~/fpcupdeluxe/fpc/bin/x86_64-linux$ ./fpc
Free Pascal Compiler version 3.3.1-r43118 [2019/10/04] for x86_64

--
Regards,
Alexey

_______________________________________________
fpc-pascal maillist  -  [hidden email]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Incorrect IDE Messages error line

Jonas Maebe-3
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
_______________________________________________
fpc-pascal maillist  -  [hidden email]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal