id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 1196,"Patch: when BOOST_NO_STD_LOCALE is not defined, boost/format/internals.hpp fails to compile.",andyc@…,Samuel Krempp,"With gcc, we get a compile error when BOOST_NO_STD_LOCALE is not defined: .../boost/format/internals.hpp:106: warning: unused parameter `locale_t*loc_default' The following patch fixes it: {{{ ===== boost/format/internals.hpp 1.1 vs + ===== --- 1.1/boost/format/internals.hpp 2007-08-17 11:57:50 +01:00 +++ +/boost/format/internals.hpp 2007-08-17 13:26:09 +01:00 @@ -104,6 +104,7 @@ template void stream_format_state:: apply_on (basic_ios & os, boost::io::detail::locale_t * loc_default) const { + (void) loc_default; // keep compiler quiet if we don't support locales // set the state of this stream according to our params if(width_ != -1) os.width(width_); }}} ",Bugs,closed,Boost 1.35.0,format,Boost 1.34.1,Problem,fixed,,