Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Building starpu examples with MSVC

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Building starpu examples with MSVC


Chronologique Discussions 
  • From: Samuel Thibault <samuel.thibault@ens-lyon.org>
  • To: Jonathan Adamczewski <jadamcze@utas.edu.au>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] Building starpu examples with MSVC
  • Date: Sun, 3 Apr 2011 00:51:19 +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,

Jonathan Adamczewski, le Thu 31 Mar 2011 14:58:29 +0200, a écrit :
> 03_c89_examples_makefiles.diff:
> Add -std=c89 to Makefile.am files in examples directory. Probably
> should not be applied yet - I am not set up to build the CUDA
> examples, so don't know if more warnings/errors are yet to be uncovered.

Ok. Does MSVC like -std=c89 too? If so, the patch shouldn't be a
problem.

> ffs() and sqrtf() are not available when compiling with -std=c89.

Not a problem: simply add #define _BSD_SOURCE before includes to get
them back.

> There should be no problems caused by applying the first three
> diffs.

I have applied them, thanks !

Samuel





Archives gérées par MHonArc 2.6.19+.

Haut de le page