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

[hts-users:04194] Re: small C89 compilation issue with HGen.c


Hi,

Thank you for your report.
I changed the place of CreateVector()/CreateDVector() in HGen.c.
The patch was attached.
Is it OK for your compiler ?

Regards,
Keiichiro Oura



2014-12-30 4:50 GMT+09:00 Merlijn Blaauw <merlijn.blaauw@xxxxxxx>:
> When compiling HTS (2.3alpha/beta) for Windows with MSVC2008 (or any C89
> compiler probably), there's a small issue related to intermingling variable
> declarations and code.
> This occurs only in the file HGen.c, functions GV_ParmGen() and
> SetupPdfStreams(), where CreateVector()/CreateDVector() are called before
> some following variable declarations.
>
> In my opinion it would be nice to fix this because all the rest of HTS
> compiles just fine out-of-the-box.
>
> I was hoping this might have been fixed with the 2.3beta release, but it
> wasn't..
>
> Thanks!
> Merlijn
>
>

Attachment: 20141230_hgen.patch
Description: Binary data


Follow-Ups
[hts-users:04195] Re: small C89 compilation issue with HGen.c, Merlijn Blaauw
References
[hts-users:04193] small C89 compilation issue with HGen.c, Merlijn Blaauw