Re: [Vala] Math.exp2 not portable



On Thu, Jan 31, 2008 at 07:49:12PM +0100, J?rg Billeter wrote:
exp2 is part of the C99 standard, so it's certainly not deprecated and
also not something GNU-specific. Not all C compilers and C libraries
support C99, however, as I wrote before, we don't guarantee that all
functionality provided in the bindings is available on all platforms.
For example we already provide bindings for glib 2.15 functionality,
although this version is not yet widely installed.

Ok, then keep it as is

This would be nice to develop, so you can mark a method as deprecated, and
all the times you call it the compiler will show you the 'error message':

[Deprecated (reason="foo() method has been deprecated, please use bar()")]
public void foo() {
    ...
}


or something like that :) what do you think?

Yes, something like that is planned to be added to Vala.

nice



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]