Objet : Developers list for StarPU
Archives de la liste
- From: Samuel Thibault <samuel.thibault@ens-lyon.org>
- To: George Russell <george@codeplay.com>
- Cc: "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
- Subject: Re: [Starpu-devel] Header Issue (C++ and MSVC)
- Date: Wed, 20 Apr 2011 15:37:21 +0200
- List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel>
- List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>
Hello,
George Russell, le Wed 20 Apr 2011 15:20:09 +0200, a écrit :
> In starpu_opencl.h, the __func__ construct is used in the
> STARPU_OPENCL_DISPLAY_ERROR macro.
> This is C99, not C89/C++, and breaks MSVC (and presumably, other compilers
> not
> supporting C99 in C/C++)
>
> A fix for MSVC is to define __func__ in the header
>
> #ifdef _MSC_VER
> #define __func__ __FUNCTION__
> #endif
Ok, I see. I've commited it to starpu_cuda.h too.
Thanks,
Samuel
- [Starpu-devel] Header Issue (C++ and MSVC), George Russell, 20/04/2011
- <Suite(s) possible(s)>
- Re: [Starpu-devel] Header Issue (C++ and MSVC), Samuel Thibault, 20/04/2011
Archives gérées par MHonArc 2.6.19+.