Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Installation
»
General
»
obsolete switch -OG
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
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Published sets in FPC are...
by
cdbc
[
Today
at 04:06:43 am]
lazarus project
by
crownfield
[
Today
at 03:34:00 am]
Frustrating Error When us...
by
jamie
[
Today
at 03:05:27 am]
StrMath.pas a String Numb...
by
srvaldez
[
Today
at 03:03:50 am]
Debian removes FPC/Lazaru...
by
robert rozee
[
Today
at 02:51:03 am]
'Rounding' to (say) 5 DP
by
LV
[February 17, 2026, 11:51:29 pm]
Is it possible to create ...
by
LeP
[February 17, 2026, 11:20:42 pm]
Status of FPC 3.4.0 or FP...
by
PascalDragon
[February 17, 2026, 09:25:01 pm]
MVP made easier.
by
cdbc
[February 17, 2026, 09:16:07 pm]
A diary project with SQLi...
by
cdbc
[February 17, 2026, 09:03:25 pm]
[ANN] fpGUI Toolkit v2.0....
by
PascalDragon
[February 17, 2026, 08:49:17 pm]
Form has no Taskbar entry...
by
n7800
[February 17, 2026, 07:48:59 pm]
DCPcrypt v2.0.6 — Cryptog...
by
Ten_Mile_Hike
[February 17, 2026, 07:40:22 pm]
[SOLVED] Lazarus recompil...
by
creaothceann
[February 17, 2026, 07:37:12 pm]
4.4 messed with the proje...
by
QEnnay
[February 17, 2026, 07:26:00 pm]
Anyone else getting a tro...
by
dseligo
[February 17, 2026, 07:24:37 pm]
Duplicated icon in the Wi...
by
n7800
[February 17, 2026, 06:11:54 pm]
[AGGPas] Difference betwe...
by
cdbc
[February 17, 2026, 05:02:28 pm]
[SOLVED] Statically linki...
by
marcov
[February 17, 2026, 04:56:09 pm]
pas2js WebAssembly SQLite...
by
PierceNg
[February 17, 2026, 03:32:46 pm]
My AGGPas examples
by
Roland57
[February 17, 2026, 02:10:03 pm]
Datatype of Fields in sql...
by
Dzandaa
[February 17, 2026, 01:46:59 pm]
TurboBird IBX
by
valdir.marcos
[February 17, 2026, 10:38:16 am]
Delphi Magazine issues 1-...
by
valdir.marcos
[February 17, 2026, 10:37:33 am]
We are starting to use La...
by
dbannon
[February 17, 2026, 06:25:04 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: obsolete switch -OG (Read 5773 times)
mrdebug
Full Member
Posts: 160
obsolete switch -OG
«
on:
November 15, 2007, 10:23:47 am »
Hi,
When compiling a program I get the warning: You are using the obsolete switch -OG.
What does it mean?
Logged
www.labcsp.com
www.denisgottardello.it
GMT+1
Skype: mrdebug
Bart
Hero Member
Posts: 5691
RE: obsolete switch -OG
«
Reply #1 on:
November 15, 2007, 03:54:26 pm »
Check compiler options and remove the -OG switch?
No idea what it used to do, and if it is replaced by some other switch.
Bart
Logged
Legolas
Full Member
Posts: 117
RE: obsolete switch -OG
«
Reply #2 on:
November 15, 2007, 05:54:43 pm »
-OG generated faster code, -Og smaller. Today fpc uses -Os to generate smaller code, so I suppose that omitting it, will generate faster code
Logged
Leledumbo
Hero Member
Posts: 8835
Programming + Glam Metal + Tae Kwon Do = Me
RE: obsolete switch -OG
«
Reply #3 on:
November 16, 2007, 07:09:11 am »
Type fpc with no argument for further information, some switches are obsolete. I think Lazarus' compiler option dialog should be changed due to this change.
Logged
Follow this if you want me to answer:
http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F
http://pascalgeek.blogspot.com
https://bitbucket.org/leledumbo
https://github.com/leledumbo
Code first, think later - Natural programmer B)
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Installation
»
General
»
obsolete switch -OG
TinyPortal
© 2005-2018