Is there a cc equivalent to the -Wformat gcc flag? -


my company uses massive makefile uses cc compile, not gcc. use -wformat flag show errors types in printf , sprintf don't match provided arguments.

does know similar flag in cc provide functionality? task compiles fine, yet know fact there mismatched types in 100's of places, need find them.

i compiling on sun architecture.

thanks!

complete solaris studio cc , cc documentation available @ http://www.oracle.com/technetwork/server-storage/solarisstudio/documentation/index.html

there man pages cc(1) , cc(1) installed on system. http://download.oracle.com/docs/cd/e18659_01/html/821-2676/cc.1.html

you might run source code thru lint(1) http://download.oracle.com/docs/cd/e18659_01/html/821-2676/lint.1.html


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -