How do I deal with "too many defines"?

How do I deal with "too many defines"?

Use the "-Wp,-Hxxxxxxx" where xxxxxxxx is the number of bytes to add
to cpp's table size.

There is no equivalent in lint or cflow to the cc driver's -W flag to
pass options to subprocesses like cpp. However, both lint and cflow
invoke cpp via the cc driver, so you can achieve the same effect by
setting the CCOPTS environment variable. For example,

CCOPTS="-Wp,-H500000"
export CCOPTS
lint large_file.c



Home
FAQ