17

Wow @ewpratten and I just witnessed, for the first time in history, the GCC compiler being useful!

Comments
  • 1
  • 2
    @xzvf Totally agree. Especially GCC8, or Clang4 they are very esplicative!
  • 1
    Here's a helpful alias for compiling with GCC:
    alias gccc=gcc -Wall -Wextra -pedantic-errors
  • 1
    Gcc can also tell you when any snprintf (and similar) operation can come up with too many characters for your buffer.
    Or when the indentation of lines following a bracket-less if are misleading.
    -Wextra is really helpful here!
  • 0
    📍📌
  • 0
    Pinned
Add Comment