Skip to content

Warningless builds on EDG compilers (especially, LCC)

There is a compiler named LCC (eLbrus C/c++ Compiler; not to be confused with Little C Compiler) that is based on EDG frontend. And, despite being declared as GCC compatible, it has some differences that do not allow warningless build of libxml2.

This merge request is up to fix this.

Some of the fixes are specifically applied when __EDG__ or __LCC__ is defined (if corresponding warnings are generated by frontend itself, or by certain EDG configuration used in LCC compiler); and some are caused by excess or missing things in libxml2 code that don't provoke warnings on GCC and Clang, so they are fixed for all compilers.

Merge request reports