View Issue Details

IDProjectCategoryView StatusLast Update
0034567FPCDocumentationpublic2018-11-29 16:20
Reporter440bxAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformallOSallOS Versionall
Product Version3.0.4Product Build 
Target Version3.2.0Fixed in Version3.3.1 
Summary0034567: The documentation says to use -Og while the compiler warns that switch is obsolete.
DescriptionSection 11.2.1, page 128 of the Free Pascal Programmer's Reference manual mentions -Og as the switch to use to optimize for size.

The compiler, when seeing that switch, warns that -Os should be used instead.

The documentation should probably be updated to mention -Os instead of -Og.
Steps To Reproducecompile something while specifying -Og in the command line. The compiler will issue the following warning:

Warning: You are using the obsolete switch -Og, please use -Os
TagsNo tags attached.
Fixed in Revision1523
FPCOldBugId
FPCTarget
Attached Files

Activities

Michael Van Canneyt

2018-11-29 16:20

administrator   ~0112259

Fixed several occurrences, thanks for reporting!

Issue History

Date Modified Username Field Change
2018-11-19 06:52 440bx New Issue
2018-11-19 06:52 440bx Status new => assigned
2018-11-19 06:52 440bx Assigned To => Michael Van Canneyt
2018-11-29 16:20 Michael Van Canneyt Fixed in Revision => 1523
2018-11-29 16:20 Michael Van Canneyt Note Added: 0112259
2018-11-29 16:20 Michael Van Canneyt Status assigned => resolved
2018-11-29 16:20 Michael Van Canneyt Fixed in Version => 3.3.1
2018-11-29 16:20 Michael Van Canneyt Resolution open => fixed
2018-11-29 16:20 Michael Van Canneyt Target Version => 3.2.0