id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4146,[patch] ./boost/property_tree/detail/xml_parser_read_rapidxml.hpp:117: error: non-constant `(((int)f_c) | 3072)' cannot be used as template argument,Jan-Hein Bührman ,Sebastian Redl,"When compiling today's development trunk of boost, I see the following errors: {{{ [snip] gcc.compile.c++ bin.v2/libs/graph/build/gcc-3.4.4/release/threading-multi/graphml.o ./boost/property_tree/detail/xml_parser_read_rapidxml.hpp: In function `void boost::property_tree::xml_parser::read_xml_internal(std::basic_istream >&, Ptree&, int, const std::string&) [with Ptree = boost::property_tree::basic_ptree >]': ./boost/property_tree/xml_parser.hpp:52: instantiated from `void boost::property_tree::xml_parser::read_xml(std::basic_istream >&, Ptree&, int) [with Ptree = boost::property_tree::ptree]' libs\graph\src\graphml.cpp:49: instantiated from here ./boost/property_tree/detail/xml_parser_read_rapidxml.hpp:117: error: non-constant `(((int)f_c) | 3072)' cannot be used as template argument ./boost/property_tree/detail/xml_parser_read_rapidxml.hpp:117: error: no matching function for call to `boost::property_tree::detail::rapidxml::xml_document::parse(char*)' [snip] }}} bjam was generated in the follwing way: {{{ $ ./bootstrap.sh --prefix=$HOME/local --exec-prefix=$HOME/local/${MACHTYPE=i686-pc-cygwin} }}} It is compiled on Windows XP machine, under a recent update of Cygwin. {{{ $ g++ --version g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. }}} I googled up a workaround (ref. {{{}}}) that fixes the problem for me, see attached {{{svn diff}}}. ",Bugs,closed,,property_tree,Boost Development Trunk,Showstopper,fixed,property_tree xml_parser non-constant template argument,