C style casts
Bug #717279 reported by
Olaf van der Spek
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
C casts shouldn't be used in C++, so -Wold-style-cast might be handy.
Related branches
lp:~vjsamuel/drizzle/fix-casts-drizzle-client
On hold
for merging
into
lp:drizzle/7.0
- Olaf van der Spek: Pending requested
- Drizzle Developers: Pending requested
-
Diff: 247 lines (+33/-33)1 file modifiedclient/drizzle.cc (+33/-33)
Changed in drizzle: | |
milestone: | none → future |
importance: | Undecided → Low |
status: | New → Confirmed |
importance: | Low → Wishlist |
To post a comment you must log in.
Agree... and I welcome patches to fix the tree in this manner. For now, I suggest:
make CPPFLAGS= '-Wold- style-cast'
To trigger places to find and fix. We can't add it to the official list of warnings yet, as there are THOUSANDS of them.