On Wed, May 2, 2012 at 1:50 AM, Ilya Chernykh
tstring.h:102:3: error: 'make_pair' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] In file included from /usr/include/c++/4.7/utility:72:0, from /usr/include/c++/4.7/algorithm:61, from expander.cpp:13: /usr/include/c++/4.7/bits/stl_pair.h:284:5: note: 'template
std::pair<_T1, _T2> std::make_pair(_T1, _T2)' declared here, later in the translation unit === But file "#include <utility>" (from which stl_pair is included) is included in the very beginning of tstring.h. I wonder why the compiler says it is included later if it is in the very beginning.
Notice that tstring.h, according to the error message, is being included by utility at line 72. I'd call it a bug in gcc's stdlib. Those errors aren't considered by the compiler until you invoke the offending code, so it could explain why it got past gcc's tests. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org