Fix compilation with gcc-4.7 in C++0x mode.
This commit is contained in:
parent
ef8da5aa77
commit
71d9ce8052
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ private:
|
|||
* missing default constructor for vconfig. Not entirely sure whether it's a
|
||||
* bug in gcc or not. For now make the code conditional.
|
||||
*/
|
||||
#if __GNUC__ == 4 && __GNUC_MINOR__ == 6 && defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||
#if __GNUC__ == 4 && (__GNUC_MINOR__ == 6 || __GNUC_MINOR__ == 7) && defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||
template<class T1, class T2>
|
||||
friend class std::pair;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue