Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
Beginners
(Moderators:
FPK
,
Tomas Hajny
) »
Compile cleanup
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
how to download fulling f...
by
greenzyzyzy
[
Today
at 04:12:30 am]
Would folks find these mi...
by
eljo
[
Today
at 03:51:08 am]
help choosing laptop
by
Weiss
[
Today
at 03:11:56 am]
Letters chopped off in hi...
by
jamie
[
Today
at 02:12:20 am]
using the create_lazarus_...
by
jshand2010
[
Today
at 02:01:04 am]
LAMW - simple esc/POS pri...
by
jmpessoa
[
Today
at 01:51:58 am]
Installing GDB on MAC OS ...
by
Martin_fr
[
Today
at 01:49:44 am]
Hole punching - Step by S...
by
Warfley
[
Today
at 12:48:16 am]
Is Meta programming possi...
by
Joanna
[May 31, 2023, 11:57:27 pm]
[Solved] Dark mode in app...
by
d7_2_laz
[May 31, 2023, 11:28:56 pm]
SQLite Unique
by
paweld
[May 31, 2023, 11:02:27 pm]
SQLite check if record ex...
by
paweld
[May 31, 2023, 10:38:45 pm]
How to download a file fr...
by
c4p
[May 31, 2023, 10:09:56 pm]
Magic, non referenced var...
by
PascalDragon
[May 31, 2023, 09:55:09 pm]
How to use the Event Log?
by
Martin_fr
[May 31, 2023, 09:55:07 pm]
BoxChart cannot be color ...
by
kiyo
[May 31, 2023, 08:35:05 pm]
Default and speed effect
by
Martin_fr
[May 31, 2023, 06:51:41 pm]
LazPaint (alpha-blending,...
by
circular
[May 31, 2023, 06:38:33 pm]
Anonymous Unions-Middle R...
by
jamie
[May 31, 2023, 06:08:15 pm]
Initializing an array
by
jamie
[May 31, 2023, 05:35:14 pm]
PostgreSQL: typeinfo erro...
by
Чебурашка
[May 31, 2023, 04:50:52 pm]
Sevenzip. Pas with multiv...
by
datilas
[May 31, 2023, 04:33:37 pm]
Error in Sway
by
AmatCoder
[May 31, 2023, 04:02:28 pm]
Google Snappy bindings fo...
by
Okoba
[May 31, 2023, 03:39:37 pm]
CEF4Delphi under Ubuntu C...
by
myisjwj
[May 31, 2023, 02:51:10 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Compile cleanup (Read 1705 times)
BIT
Full Member
Posts: 135
Compile cleanup
«
on:
September 25, 2021, 03:22:32 pm »
Hello!
Can you please tell me if you can clean up unused modules and empty functions in all modules when compiling a project?
Logged
howardpc
Hero Member
Posts: 4133
Re: Compile cleanup
«
Reply #1 on:
September 25, 2021, 05:15:15 pm »
At least for classes Lazarus can remove empty functions and procedures.
see Tools -> Options... Editor node, Completion and Hints subnode,
Auto remove empty methods (checkbox)
Logged
Thaddy
Hero Member
Posts: 12971
Re: Compile cleanup
«
Reply #2 on:
September 25, 2021, 05:19:16 pm »
It will also remove/not use unused units, with the provision they do not have initialization/finalization parts, I believe. Not Lazarus, but the compiler itself, btw (both cases)
Logged
I actually get compliments for being rude... (well, Dutch, but that is the same)
BIT
Full Member
Posts: 135
Re: Compile cleanup
«
Reply #3 on:
September 25, 2021, 06:38:43 pm »
thanks
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
Beginners
(Moderators:
FPK
,
Tomas Hajny
) »
Compile cleanup
TinyPortal
© 2005-2018