Hi Philipp,
ok, thanks for the info. I opened an issue on GIT.
Cheers,
Alex
From: Philipp Janda <[email protected]>
To: [email protected],
Date: 10/10/2014 17:37
Subject: Re: [Luarocks-developers] Problem installing
luasql-postgresql
Hi!
Am 10.10.2014 um 16:51 schröbte
[email protected]:
>
> ls_postgres.c
> src/ls_postgres.c(374) : error C2057: expected constant expression
> src/ls_postgres.c(374) : error C2466: cannot allocate an array of
constant
> size
> 0
> src/ls_postgres.c(374) : error C2133: 'to' : unknown size
>
> Error: Build error: Failed compiling object src/ls_postgres.obj
That actually seems to be a bug in luasql.postgres. The offending line
is definitely not C90, and I'm not sure it's valid C99 either (possibly
a GNU-extension; I will have a closer look at the standard). Anyway, you
should file a bug report (or provide a pull request) here[1]. The
obvious fix would be to allocate a temporary buffer using
`lua_newuserdata` instead of using the variable length array.
>
> Thanks for the support.
> Cheers,
> Alex
>
Philipp
[1]: https://github.com/keplerproject/luasql
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://p.sf.net/sfu/Zoho
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers