Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
d770d3b3
Commit
d770d3b3
authored
Sep 30, 1997
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add -Wold-style-cast
From-SVN: r15807
parent
8c81598d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
gcc/invoke.texi
+6
-2
No files found.
gcc/invoke.texi
View file @
d770d3b3
...
...
@@ -120,7 +120,7 @@ in the following sections.
-
Wid
-
clash
-
@var
{
len
}
-
Wimplicit
-
Wimport
-
Winline
-
Wlarger
-
than
-
@var
{
len
}
-
Wmain
-
Wmissing
-
declarations
-
Wmissing
-
prototypes
-
Wnested
-
externs
-
Wno
-
import
-
Wo
verloaded
-
virtual
-
Wparentheses
-
Wno
-
import
-
Wo
ld
-
style
-
cast
-
Woverloaded
-
virtual
-
Wparentheses
-
Wpointer
-
arith
-
Wredundant
-
decls
-
Wreorder
-
Wreturn
-
type
-
Wshadow
-
Wsign
-
compare
-
Wstrict
-
prototypes
-
Wswitch
-
Wsynth
-
Wtemplate
-
debugging
-
Wtraditional
-
Wtrigraphs
...
...
@@ -1124,7 +1124,8 @@ have meanings only for C++ programs:
Do
not
assume
@samp
{
inline
}
for
functions
defined
inside
a
class
scope
.
@xref
{
Optimize
Options
,,
Options
That
Control
Optimization
}.
@item
-
Woverloaded
-
virtual
@item
-
Wold
-
style
-
cast
@itemx
-
Woverloaded
-
virtual
@itemx
-
Wtemplate
-
debugging
Warnings
that
apply
only
to
C
++
programs
.
@xref
{
Warning
Options
,,
Options
to
Request
or
Suppress
Warnings
}.
...
...
@@ -1541,6 +1542,9 @@ Warn if an @code{extern} declaration is encountered within an function.
Warn
if
a
function
can
not
be
inlined
,
and
either
it
was
declared
as
inline
,
or
else
the
@samp
{
-
finline
-
functions
}
option
was
given
.
@item
-
Wold
-
style
-
cast
Warn
if
an
old
-
style
(
C
-
style
)
cast
is
used
within
a
program
.
@item
-
Woverloaded
-
virtual
@cindex
overloaded
virtual
fn
,
warning
@cindex
warning
for
overloaded
virtual
fn
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment