h5part AT lists.psi.ch
Subject: H5Part development and discussion
List archive
- From: Achim Gsell <Achim.Gsell AT psi.ch>
- To: h5part AT lists.psi.ch
- Subject: Re: [H5part] SVN access available for contributions?
- Date: Mon, 12 Mar 2007 16:12:11 +0100
- List-archive: <https://lists.web.psi.ch/pipermail/h5part/>
- List-id: H5Part development and discussion <h5part.lists.psi.ch>
- Organization: Paul Scherrer Institut
On Monday 12 March 2007 15:07, John Biddiscombe wrote:
>
> > I have no idea about MicroSoft C-compilers! Anyone else?
> >
> OK. I just looked again at the errors and now I realize what has
> happened. The H5Part.c and H5Block.c files are declaring variables
> within the body of the function (i.e. not at the start of the function
> scope). According to c99 or some other spec, the variables should be
> defined before use. I can't find a flag in MSVC to turn off this checking.
> When compiling as C++, the restriction is lifted and there's no problem.
C99 allows variable declaration anywhere inside a function, not just at the
top. AFAIK there is no variable declaration *after* the first use in H5Part,
otherwise this must be fixed.
Achim
- Re: [H5part] SVN access available for contributions?, John Biddiscombe, 03/12/2007
- Re: [H5part] SVN access available for contributions?, Achim Gsell, 03/12/2007
- Re: [H5part] SVN access available for contributions?, John Biddiscombe, 03/12/2007
- Re: [H5part] SVN access available for contributions?, Achim Gsell, 03/12/2007
- Re: [H5part] SVN access available for contributions?, John Biddiscombe, 03/12/2007
- Re: [H5part] SVN access available for contributions?, Achim Gsell, 03/12/2007
- Re: [H5part] SVN access available for contributions?, John Biddiscombe, 03/12/2007
- Re: [H5part] SVN access available for contributions?, Andreas Adelmann, 03/12/2007
- Re: [H5part] SVN access available for contributions?, John Biddiscombe, 03/12/2007
- Re: [H5part] SVN access available for contributions?, Achim Gsell, 03/12/2007
Archive powered by MHonArc 2.6.19.