[Gtkradiant] scan-build scons

John Smith lbalbalba at gmail.com
Tue Oct 16 12:08:26 EDT 2012


Looks like the environment is already explicitly imported at the top
of 'SConstruct' :

import sys, os, platform, cPickle

And the compiler gets set in config.py :

env['CC'] = self.cc
env['CXX'] = self.cxx

Changing that in config.py to this :

env['CC'] = os.getenv("CC")
env['CXX'] = os.getenv("CXX")

and then running

scan-build scons
(which overrides CC and CXX)

Seems yo do the trick

Thanks for the help,


John Smith.

More information about the Gtkradiant mailing list