Attached preprocessed code compiles with gcc 3.4.4 and gcc 4.0.3, fails with 4.1.1. Compiler is not preferring a function template over a vararg function.
-- Summary: mpl/aux_/preprocessed/gcc/template_arity.hpp, bogus overload ambiguity Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eric dot niebler at gmail dot com GCC target triplet: i686-pc-cygwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29701