Objet : Developers list for StarPU
Archives de la liste
- From: George Russell <george@codeplay.com>
- To: "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
- Subject: [Starpu-devel] Header Issue (C++ and MSVC)
- Date: Wed, 20 Apr 2011 15:19:46 +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>
Hi, 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 Cheers, George |
- [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+.