| Summary: | Clean up warnings from the Clang compiler plugin | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Luboš Luňák <l.lunak> |
| Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | cao.cuong.ngo |
| Priority: | medium | Keywords: | difficultyBeginner, easyHack, skillCpp, topicCleanup |
| Version: | unspecified | ||
| Hardware: | Other | ||
| OS: | All | ||
| Whiteboard: | target:4.1.0 | ||
| Crash report or crash signature: | Regression By: | ||
|
Description
Luboš Luňák
2013-02-01 10:05:48 UTC
Hi, I've made a patch for this bug, you can find it here: https://gerrit.libreoffice.org/2544 nccuong committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a6b91730053fc61416716ae176081b91de52532b fdo#60148 Clean up warnings from the Clang compiler plugin The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. This is not fixed yet, I can still see a number of warnings. As you can see from inline comments from https://gerrit.libreoffice.org/2544, we intentionally left some unused variable warnings: all the mutex warnings and some other unused variables are left untouched for debug purpose. Beside, there's one or two false positive from the plugin. As long as there are any warnings left, this bugreport is still valid by definition. If there are false warnings, those should get fixed. But by the time I wrote comment #3 I did 9a4fb0643e51cb89649000493e8c5dac5a306bc4, which was a valid warning, so I expect there still are more valid warnings. As for warnings left for debug or other purposes, those should be handled somehow too - we do not leave native compiler warnings in the code either. I cannot see any warnings remaining in current master build, so assuming done, closing. Migrating Whiteboard tags to Keywords: (EasyHack,DifficultyBeginner,SkillCpp,TopicCleanup) [NinjaEdit] |