Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Autopid 1.1.28 - compile errors



Hallo Andreas,

> [...]
> >> /usr/include/g++/stl_algobase.h:76: redefinition of `template <class
> >_Tp>
> >> void swap(_Tp &, _Tp &)'
> >> tools.h:52: `template <class T> void swap(T &, T &)' 
> previously declared
> >> here
> >> /usr/include/g++/stl_algobase.h:76: redefinition of `void swap(_Tp &,
> >_Tp
> >> &)'
> >> tools.h:52: `void swap(T &, T &)' previously defined here
> >> make: *** [device.o] Error 1
> 
> STL's definition off swap collides with vdr's definition of swap. The 
> STL should not define anything in the root namespace (as it does there), 
> all definitions should live in the std:: namespace. Newer version 
> included with gcc-3.x fix that. The patch for 1.1.29 also contains a 
> workaround.


OK, thanks I will try 1.1.29 then :)

Greetings
Christian


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index