OS X 10.7, using Xcode 4.6.2 (Apple clang 425.0.28)
g++ -DHAVE_CONFIG_H -I. -I.. -I/sw/include/freetype2 -I/sw/include -I/sw/include/gnome-vfs-2.0 -I/sw/lib/gnome-vfs2.16/gnome-vfs-2.0/include -I/sw/include/gconf/2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/ImageMagick -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/sw/include/libwpg-0.2 -I/sw/include/libwpd-0.9 -I/sw/include -I/sw/include/poppler -I/sw/include/poppler/glib -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/cairo -I/sw/include -I/sw/include/freetype2 -I/usr/X11/include -DPOTRACE=\"potrace\" -I/sw/include/gdkmm-2.4 -I/sw/lib/gdkmm-2.4/include -I/sw/include/giomm-2.4 -I/sw/lib/giomm-2.4/include -I/sw/include/pangomm-1.4 -I/sw/lib/pangomm-1.4/include -I/sw/include/gtk-2.0 -I/sw/include/glibmm-2.4 -I/sw/lib/glibmm-2.4/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/sigc++-2.0 -I/sw/lib/sigc++-2.0/include -I/sw/include/cairomm-1.0 -I/sw/lib/cairomm-1.0/include -I/sw/include/pango-1.0 -I/sw/include/cairo -I/sw/include -I/sw/include/freetype2 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/gtkmm-2.4 -I/sw/lib/gtkmm-2.4/include -I/sw/include/gtk-unix-print-2.0 -I/sw/include/atkmm-1.6 -I/sw/include/libxml2 -I/sw/include/gtkspell-2.0 -I/sw/include/libpng15 -I/usr/X11/include -I../cxxtest -I./bind/javainc -I./bind/javainc/linux -Werror=format-security -Wall -Wformat -Wformat-security -W -D_FORTIFY_SOURCE=2 -I/sw/include -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O2 -MT box3d-context.o -MD -MP -MF $depbase.Tpo -c -o box3d-context.o box3d-context.cpp &&\
mv -f $depbase.Tpo $depbase.Po
box3d-context.cpp:643:57: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
bc._message_context->setF(Inkscape::NORMAL_MESSAGE, _("<b>3D Box</b>; with <b>Shift</b> to extrude along the Z axis"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/sw/include/glib-2.0/glib/gi18n.h:28:20: note: expanded from macro '_'
#define _(String) gettext (String)
^~~~~~~~~~~~~~~~
Are you trying to compile current stable or current trunk with clang?
Note: current stable (Inkscape 0.48.4, <lp:inkscape/0.48.x>) does not compile with clang - basic clang support has been implemented in current trunk though (Inkscape 0.48+devel, <lp:inkscape>), as already tracked in bug #992124. AFAICT clang support is unlikely to get backported to the current stable release branch.