Menu

#59 compiler warnings

closed-no-activity
nobody
Help wanted (4)
2022-08-07
2016-08-30
Marshall
No

I know this is lagcy code and all, but I think it's still a good idea to fix as many compiler warnings as possible so that eventually one can build with "-Wall" enabled without the screen being spammed with warnings.
I'm especially thinking about the -Wformat warnings, as some of them (as far as I know) might be security related: https://gcc.gnu.org/onlinedocs/gcc-3.4.4/gcc/Warning-Options.html#index-Wformat_002dsecurity-198

I've attached some patches that I made for release 2.2.4 showing you what I mean.

4 Attachments

Discussion

  • Jon Trulson

    Jon Trulson - 2018-04-28
    • labels: --> Help wanted
    • status: open --> pending
     
  • Jon Trulson

    Jon Trulson - 2018-04-28

    There are tons of these - thousands of them actually. In cde-fixups-1 branch, there has been some work to try to address many of these issues. Unfortunately, this is likely a long term effort, and we may never be able to get a -Wall clean build with some of the stuff in there :)

    I'll mark this as "pending" with a "Help wanted" tag. This issue will be around for awhile.

    Feel free to post patches to the mailing list or submit a pull request if you want to tackle some of them.

     
  • Jon Trulson

    Jon Trulson - 2018-04-28
    • status: pending --> helpwanted
     
  • Jon Trulson

    Jon Trulson - 2022-08-07
    • status: helpwanted --> closed-no-activity
     

Log in to post a comment.