Menu

#354 C99 and stricter CFLAGS

version-1.8.16
closed-fixed
None
3
2015-01-09
2014-12-23
No

CFLAGS="$CFLAGS -Wall -Wextra -std=c99 -pedantic -Wformat -Wformat-nonliteral"

There will be some pain and suffering, but it's 2014. It's time to ditch obsolete/deprecated stuff and fix the code at least a bit.

Discussion

  • Zdenek Styblik

    Zdenek Styblik - 2015-01-09
    • status: open-accepted --> closed-fixed
     
  • Zdenek Styblik

    Zdenek Styblik - 2015-01-09

    I'm somewhat fine with those flags, although I admit they're a bit drastic and verbose. We might fine-tune those down a bit eventually, but it's fine for now.

     

Log in to post a comment.