From: Carsten H. (T. R. <ra...@ra...> - 2012-05-29 09:43:08
|
On Tue, 29 May 2012 14:15:26 +0900 Daniel Juyung Seo <seo...@gm...> said: it's not a break, but it does add warnings to apps. they may decide to handle those warnings as they see fit. ignore them or do something about them. if they use -Werror.. frankly.. that's their business. a warning added is not a break on our end. as long as the api is there forever during 1.x - and no way we are doing a 2.0 for YEARS. so... given al of that. it IS a bit irresponsible deprecating api's immediately after 1.0. this just looks bad. we need a new macro. ELM_WILLDEPRECATE or something. for now it just is: #define ELM_WILLDEPRECATE ie empty, but its a marker for us to REPLACE with EINA_DEPREACTED later on. we can add a #ifdef ELM_STRICT #define ELM_WILLDEPRECATE EINA_DEPRECATED #else #define ELM_WILLDEPRECATE #endif people who want to keep up with changes as things move to 2.0 over the next few years can add -DELM_STRICT to their builds and keep up. those who want to not do this and use -Werror can not define it and not worry about the noise. at some point before 2.0 (maybe 12 months or so) we can run sed over our headers and convert ELM_WILLDEPRECATE directly to EINA_DEPRECATED and no choice - people now get warnings and a big helping suggestion to "adapt or get stuck on elm1.0". again - this is years away, but it is a plan and way to move forward with minimum pain and no breaks (until 2.0 which can be side-by-side installed with 1.x) > Current trunk will be released as 1.x. isn't it? > We break api even in 1.x? > This is different from what I've learned from open source projects. > > Daniel Juyung Seo (SeoZ) > > > On Tue, May 29, 2012 at 2:09 PM, Vincent Torri <vin...@gm...> > wrote: > > On Tue, May 29, 2012 at 7:07 AM, Daniel Juyung Seo <seo...@gm...> > > wrote: > >> but it breaks applications when they use -Werror option. > > > > of course as it throws a warning. But then you know that there is a > > deprecated function that has not been replaced by the new function :) > > > > Vincent > > > >> > >> Daniel Juyung Seo (SeoZ) > >> > >> On Tue, May 29, 2012 at 11:54 AM, Cedric BAIL <ced...@fr...> wrote: > >>> On Tue, May 29, 2012 at 11:13 AM, Daniel Juyung Seo > >>> <seo...@gm...> wrote: > >>>> Hello glima, thanks for your job. > >>>> I wonder if this is API break? > >>> > >>> I just checked the patch, and it seems fine. EINA_DEPRECATED only turn > >>> on an attribute that will tell gcc to trigger a warning during > >>> compilation (sadly it doesn't tell what to use). It doesn't alter the > >>> resulting binary. > >>> -- > >>> Cedric BAIL > >>> > >>> ------------------------------------------------------------------------------ > >>> Live Security Virtual Conference > >>> Exclusive live event will cover all the ways today's security and > >>> threat landscape has changed and how IT managers can respond. Discussions > >>> will include endpoint security, mobile security and the latest in malware > >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>> _______________________________________________ > >>> enlightenment-devel mailing list > >>> enl...@li... > >>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > >> > >> ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. Discussions > >> will include endpoint security, mobile security and the latest in malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> enlightenment-devel mailing list > >> enl...@li... > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > enlightenment-devel mailing list > > enl...@li... > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > enlightenment-devel mailing list > enl...@li... > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ra...@ra... |