warnings about empty function bodies.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Is there a warning flag to print out warning messages in case GCC
compiles a function with an empty body ? I tried -Wextra and
-Wempty-body but that didn't seem to work. The doco though for
-Wempty-body suggests that this is only for empty if or for blocks.

cheers
Ramana

-- 
Ramana Radhakrishnan

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux