[vlc-devel] [vlc-commits] Remove using namespace std; from C++ code
hugo at beauzee.fr
Mon Jun 22 17:46:12 CEST 2015
On 22/06/2015 17:42, Hugo Beauzée-Luyssen wrote:
> Doing so with a using namespace std; will cause 2 different types with
> the same name to appear in the global namespace, thus causing the build
> to fail.
> I don't really have any other proposal to fix the builds, which are not
> involving rolling back to C++99, requiring GCC 5.x, or using atomic
> types for c++, and atomic functions for C.
Actually, using atomic types would require us to use C++11, which is
probably not going to happen any time soon.
More information about the vlc-devel