Articles tagged GCC

  1. Ignoring Warnings from System Headers

    Compiling C and C++ code with the highest warning levels is a good practice and helps spotting potential errors. For GCC the flags

    1
    
    -Wall -Wextra
    

    will generate a lot of useful warning messages about unused parameters etc.

    Unfortunately, this is not the common practice and often the own compiler settings concerning the warning level results in...

    Read more