Re: [PATCH 01/14] Add required <string> header

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

 



> 
> From: Christophe de Dinechin <dinechin@xxxxxxxxxx>
> 
> Without this, clang emits among others:
> 
> spice-streaming-agent.cpp:355:31: error: implicit instantiation of undefined
> template 'std::__1::basic_string<char, std::__1::char_traits<char>,
> std::__1::allocator<char> >'
>     streamfd = open(streamport.c_str(), O_RDWR);
>                               ^
> 
> Signed-off-by: Christophe de Dinechin <dinechin@xxxxxxxxxx>

The specific warning you mentioned is removed by 7/14
but otherwise

Acked-by: Frediano Ziglio <fziglio@xxxxxxxxxx>

Frediano

> ---
>  src/spice-streaming-agent.cpp | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp
> index f4fee2d..a43a52c 100644
> --- a/src/spice-streaming-agent.cpp
> +++ b/src/spice-streaming-agent.cpp
> @@ -22,6 +22,7 @@
>  #include <mutex>
>  #include <thread>
>  #include <vector>
> +#include <string>
>  #include <functional>
>  #include <X11/Xlib.h>
>  #include <X11/extensions/Xfixes.h>

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]