Comment 2 for bug 1193025

Revision history for this message
su_v (suv-lp) wrote : Re: box3d-context.cpp compile failure with clang (OS X 10.7; not a string literal)

> box3d-context.cpp:643:57: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]

Current trunk does build with Apple's clang 3.1 from Xcode 4.3.2 on OS X 10.7.5 - though not without warnings. AFAIU the compiler flag '-Werror' will cause any build attempt of current Inkscape trunk with clang to fail, since all warnings are treated as errors, and Inkscape's code base does not compile completely without warnings.

Attached is a full build log of r12380 on OS X 10.7.5 (Xcode 4.3.2), with Apple clang version 3.1 (tags/Apple/clang-318.0.58)), using up-to-date dependencies installed via MacPorts (trunk), with optional (raster extensions with ImageMagick++) and experimental Inkscape features (lpe, gradient mesh) enabled - this one based on the X11 backend of GTK+ 2.24.18 (AFAIK Fink does not support building with GTK+/Quartz).