make - Patches: patch #7240, cast const pointers to void* when...
You are not allowed to post comments on this tracker with your current authentication level.
patch #7240: cast const pointers to void* when feeding them to free(), qsort() or realloc()
Submitter: | Ozkan Sezer <sezero> | ||
Submitted: | Thu 15 Jul 2010 12:33:25 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Done | Privacy: | Public |
Assigned to: | None | Open/Closed: | Closed |
Fixed Release: | None |
Mon 19 Jul 2010 03:33:32 AM UTC, comment #1: |
Paul D. Smith <psmith> |
Thu 15 Jul 2010 12:33:25 PM UTC, original submission:
Hi:
(clean_jobserver): Cast jobserver_fds->list to void* in free() call.
|
Ozkan Sezer <sezero> |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2010-07-19 | psmith | Status | None | Done | |
Open/Closed | Open | Closed | |||
2010-07-15 | sezero | Attached File | - | Added const.diff, #20981 |
Powered by Savane 3.13-02a9.
Corresponding source code
I added these casts, but I don't like it. The MSVC compiler is broken, IMO, warning about this. There's nothing wrong with passing a const** to these functions and this should not be a warning. I really hate adding extra casts...