Mailinglist Archive: opensuse-packaging (208 mails)
| < Previous | Next > |
Re: [opensuse-packaging] gcc-4.7 and declaration
- From: Philipp Thomas <pth@xxxxxxx>
- Date: Thu, 3 May 2012 12:57:55 +0200
- Message-id: <20120503105755.GC24072@paradies.suse.de>
* Claudio Freire (klaussfreire@xxxxxxxxx) [20120502 21:59]:
Nope, gcc < 4.7 simply did the the second unqualified lookup and found
make_pair in namespace std::. No need for a 'using' somewhere else.
Philipp
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx
So... the instantiation in expander.cpp had the using namespace std
that made gcc <4.7 find the declaration perhaps?
Nope, gcc < 4.7 simply did the the second unqualified lookup and found
make_pair in namespace std::. No need for a 'using' somewhere else.
Philipp
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx
| < Previous | Next > |