SPOD / Sqlite + PDO bug

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

SPOD / Sqlite + PDO bug

Frank Endres
Hi !

I also got a problem when compiling with PDO (same as with Sqlite). It
looks like the Connection.hx and ResultSet.hx files are needed, but the
"#if ! spod_macro" in these files causes the problem.

Maybe there is something I did'nt understood with spod_macros ? I
can'get the following error when I try not to use SPOD macros: "Please
use -D spod_macro when using new SPOD version".

Best regards !

Frank Endres, Les Sables d'Olonne

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: SPOD / Sqlite + PDO bug

Nicolas Cannasse
Le 10/12/2011 19:44, Frank Endres a écrit :
> Hi !
>
> I also got a problem when compiling with PDO (same as with Sqlite). It
> looks like the Connection.hx and ResultSet.hx files are needed, but the
> "#if ! spod_macro" in these files causes the problem.
>
> Maybe there is something I did'nt understood with spod_macros ? I
> can'get the following error when I try not to use SPOD macros: "Please
> use -D spod_macro when using new SPOD version".

You need to add "-D spod_macro" to haxe compiler parameters.

Best,
Nicolas


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: SPOD / Sqlite + PDO bug

Nicolas Cannasse
In reply to this post by Frank Endres
Le 10/12/2011 19:44, Frank Endres a écrit :
> Hi !
>
> I also got a problem when compiling with PDO (same as with Sqlite). It
> looks like the Connection.hx and ResultSet.hx files are needed, but the
> "#if ! spod_macro" in these files causes the problem.

Also, please post on the new haxe google group, here is the old mailing
list.

https://groups.google.com/forum/#!forum/haxelang

Best,
Nicolas


--
haXe - an open source web programming language
http://haxe.org