On Wed, 2010-10-27 at 09:49 +0200, Jürg Billeter wrote: > On Wed, 2010-10-27 at 00:35 -0700, Evan Nemerson wrote: > > Perhaps I'm missing something, but I think there is a pretty big problem > > with this... When you roll a dist tarball, the Vala code will be > > compiled to C with *your* valac, and the resulting C code will not > > contain both versions. > > This is true, however, this shouldn't be an issue in this case, where > you just want to support building your application with multiple Vala > versions. As long as both versions work the same, you don't care what > Vala version it was built with.
Unfortunately that is not the case here. He is linking to libvala and trying to use the Vala preprocessor to determine which version of the library to use. There is a very good chance that the version of valac used to create the dist tarball will not match the version of libvala that valaswig is linked to. > If you add features to #if VALA_0_12, the maintainers will need to make > sure to build the dist tarball with a recent Vala version. I don't > expect this to be a problem as I don't expect the maintainers to add > features to #if VALA_0_12 code if they don't use a recent Vala version > anyway. > > Jürg > _______________________________________________ vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
