Neil Hodgson
unread,Feb 5, 2013, 1:59:34 AM2/5/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to scintilla...@googlegroups.com, scite-i...@googlegroups.com
It has been possible to run "clang --analyze" for Scintilla and SciTE on GTK+ by defining 'CLANG_ANALYZE=1' when running make. This works by running 'clang --analyze' as if it is a compiler but it doesn't produce any object files so fails later in the build.
There is now an 'analyze' target with no such side effects and CLANG_ANALYZE is gone. Thus to check, run
make analyze
There are several warnings on Fedora 18 with both g++ and clang from system headers for Pango having an enumeration with a trailing ',' which is not legal in C++03 but is in C++11. These can be avoided with either -std=c++11 or -std=c++0x. These were available in g++ 4.7 (March 2012) and g++ 4.3 (March 2008) respectively, so would break builds with old distributions. At some point one of these (probably c++0x) should be used as there have been other issues - long long, for example. This will mean g++ 4.2 and earlier will not work so users of old distributions and OS X will not be able to build without some effort.
Neil