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
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
Compile/Convert Delphi pr...
by
Joseph
[
Today
at 05:17:16 pm]
Lazarus for Windows on aa...
by
msintle
[
Today
at 05:03:57 pm]
splitting an image
by
Thaddy
[
Today
at 04:52:43 pm]
AI, NLP and CAI: Text Gen...
by
indydev
[
Today
at 04:51:00 pm]
Drawing grid lines on a t...
by
KodeZwerg
[
Today
at 04:30:06 pm]
Lazarus features in a non...
by
Laksen
[
Today
at 03:46:15 pm]
Parameter passing odditie...
by
KodeZwerg
[
Today
at 03:41:49 pm]
How to: create DLL file f...
by
KodeZwerg
[
Today
at 03:24:20 pm]
Web Applications with Pas...
by
Nate897
[
Today
at 03:17:43 pm]
Surf Units in Text Mode I...
by
mosquito
[
Today
at 01:58:21 pm]
Ho Ho Ho IntraWeb in Laza...
by
Thaddy
[
Today
at 01:55:52 pm]
Generics - correct syntax
by
Thaddy
[
Today
at 01:48:32 pm]
FpDebug questions
by
440bx
[
Today
at 01:22:53 pm]
leetcode doesn’t support ...
by
codeninja
[
Today
at 01:16:43 pm]
Can function be used for ...
by
Joanna
[
Today
at 12:48:19 pm]
Access violation when ope...
by
Чебурашка
[
Today
at 12:14:30 pm]
Access violation when re-...
by
Chris Osborne
[
Today
at 11:43:49 am]
how to tweek fpmake to co...
by
marcov
[
Today
at 10:35:11 am]
Why isn't TTIRadioGroup's...
by
egsuh
[
Today
at 08:09:35 am]
(Solved) TIndexedAVLTree ...
by
lainz
[April 23, 2024, 10:49:03 pm]
Demo Scene Picture sinwav...
by
KodeZwerg
[April 23, 2024, 10:26:21 pm]
fkInternalCalc
by
zraja
[April 23, 2024, 09:31:07 pm]
A fairly simple sound sol...
by
KodeZwerg
[April 23, 2024, 09:23:37 pm]
add new targets to make
by
marcov
[April 23, 2024, 08:38:42 pm]
Quirky windows
by
ASerge
[April 23, 2024, 07:07:16 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: obsolete switch -OG (Read 5491 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: 5290
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: 8757
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