Mailing List archive

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

[vdr] Re: Autopid 1.1.28 - compile errors



Christian Jacobsen wrote:

> Hallo,
> 
> 
>>A version
>>for 1.1.28 will be at <http://www.cs.uni-magdeburg.de/~aschultz/dvd> soon.

[...]
> /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.

Andreas



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



Home | Main Index | Thread Index