using GCC as a lint-like tool, for C++

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

 



Hi everyone,

Anyone else using GCC (3.3.x) as a lint-like tool?

(I'm interested in C++.  Not so interested in C code lint checking, thus the absence of C-specific flags.)

I'm using these flags:
* -ansi
* -pedantic
* -Wall
** -W
** -Wendif
** -Wcast-qual
** -Wwrite-strings
** -Wcast-align
** -Wpointer-arith
** -Wconversion
*** -Wredundant-decls
*** -Wunreachable-code
*** -Winline
*** -Wlarger-than-256

Paranoia rating
---------------------
* paranoid
** super paranoid
*** really super-duper paranoid

Anyone else doing this?  Any hints, tips, tricks, techniques?

Thanks,
--Eljay



[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