|
Bugzilla – Full Text Bug Listing |
| Summary: | Fix some new GCC 4.2 const warnings | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Gustavo J. A. M. Carneiro <gjcarneiro> |
| Component: | core | Assignee: | ns-bugs <ns-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: |
possible patch
another patch (simpler version) |
||
Created attachment 98 [details]
possible patch
Created attachment 99 [details]
another patch (simpler version)
I committed the second patch (less intrusive). I'll revert if someone disagrees. |
When we have char *foo = {"bar", ...}, now GCC 4.2 gives a new warning: warning: deprecated conversion from string constant to 'char*'