not good... what about a EINA_DEPRECATED_ENUM and use that, with proper #ifdef to empty on systems that do not support it
On Sun, Oct 30, 2016 at 8:50 PM, Cedric BAIL <cedric.b...@free.fr> wrote: > cedric pushed a commit to branch master. > > http://git.enlightenment.org/core/efl.git/commit/?id=ca766aa4c55c191c36dd108a738d89a7c95a2582 > > commit ca766aa4c55c191c36dd108a738d89a7c95a2582 > Author: Cedric Bail <ced...@osg.samsung.com> > Date: Sun Oct 30 15:49:54 2016 -0700 > > ecore_audio: deprecating enum is apparently not supported in every > version of gcc. > --- > src/lib/ecore_audio/Ecore_Audio.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/lib/ecore_audio/Ecore_Audio.h > b/src/lib/ecore_audio/Ecore_Audio.h > index 78dc346..2f18b24 100644 > --- a/src/lib/ecore_audio/Ecore_Audio.h > +++ b/src/lib/ecore_audio/Ecore_Audio.h > @@ -44,7 +44,7 @@ enum _Ecore_Audio_Type { > ECORE_AUDIO_TYPE_ALSA, /**< Use ALSA module*/ > ECORE_AUDIO_TYPE_SNDFILE, /**< Use libsndfile module */ > ECORE_AUDIO_TYPE_TONE, /**< Use tone module */ > - ECORE_AUDIO_TYPE_CORE_AUDIO EINA_DEPRECATED, /**< Use Core Audio module > (Apple) - DEPRECATED */ > + ECORE_AUDIO_TYPE_CORE_AUDIO, /**< Use Core Audio module (Apple) - > DEPRECATED */ > ECORE_AUDIO_TYPE_CUSTOM, /**< Use custom module */ > ECORE_AUDIO_MODULE_LAST, /**< Sentinel */ > }; > > -- > > -- Gustavo Sverzut Barbieri -------------------------------------- Mobile: +55 (16) 99354-9890 ------------------------------------------------------------------------------ The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy! http://sdm.link/telerik _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel