warning about static functions in headers
Phil Edwards
pedwards@disaster.jaj.com
Tue Dec 12 13:26:00 GMT 2000
With current CVS on sparc-sun-solaris2.8:
49% g++ -Wall 1019.cc .....
/usr/include/time.h:258: warning: `char* asctime_r(const tm*, char*)' defined
but not used
/usr/include/time.h:264: warning: `char* ctime_r(const time_t*, char*)' defined
but not used
50%
Those are static functions. Should we be warning about them?
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.
More information about the Gcc
mailing list