On Sat, Nov 24, 2012 at 7:12 AM, Sebastian Dransfeld <s...@tango.flipp.net> wrote: > On 11/23/2012 09:37 PM, Vincent Torri wrote: >> please revert. All that stuff is not correct, as I said in one of the ticket >> >> see my previous mail. Also, ecore_getopt.c **already** have alloca >> support... Please review the patches instead of appplying them blindly >> >> Vincent > > Sorry. I didn't blindly apply patches, I copied alloca stuff from > another file, so there seems to be parts of efl with wrong declaration.
the problem is that autoconf fixed the way alloca is declared and i have not spreaded the changes everywhere. Vincent > > S. > >> >> On Fri, Nov 23, 2012 at 9:25 PM, Enlightenment SVN >> <no-re...@enlightenment.org> wrote: >>> Log: >>> ecore: alloca >>> >>> Author: englebass >>> Date: 2012-11-23 12:25:52 -0800 (Fri, 23 Nov 2012) >>> New Revision: 79577 >>> Trac: http://trac.enlightenment.org/e/changeset/79577 >>> >>> Modified: >>> trunk/ecore/src/lib/ecore/ecore_alloc.c >>> trunk/ecore/src/lib/ecore/ecore_exe.c >>> trunk/ecore/src/lib/ecore/ecore_getopt.c >>> trunk/ecore/src/lib/ecore_con/dns.c >>> trunk/ecore/src/lib/ecore_con/ecore_con.c >>> trunk/ecore/src/lib/ecore_con/ecore_con_alloc.c >>> trunk/ecore/src/lib/ecore_con/ecore_con_eet.c >>> trunk/ecore/src/lib/ecore_con/ecore_con_info.c >>> trunk/ecore/src/lib/ecore_con/ecore_con_local_win32.c >>> trunk/ecore/src/lib/ecore_con/ecore_con_socks.c >>> trunk/ecore/src/lib/ecore_con/ecore_con_ssl.c >>> trunk/ecore/src/lib/ecore_config/ecore_config.c >>> trunk/ecore/src/lib/ecore_evas/ecore_evas_extn.c >>> trunk/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c >>> trunk/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c >>> trunk/ecore/src/lib/ecore_fb/ecore_fb_vt.c >>> trunk/ecore/src/lib/ecore_file/ecore_file.c >>> trunk/ecore/src/lib/ecore_file/ecore_file_monitor.c >>> trunk/ecore/src/lib/ecore_imf/ecore_imf_context.c >>> trunk/ecore/src/lib/ecore_ipc/ecore_ipc.c >>> trunk/ecore/src/lib/ecore_wayland/ecore_wl.c trunk/ecore/s > rc >> /lib/ecore_wayland/ecore_wl_output.c >> trunk/ecore/src/lib/ecore_wayland/ecore_wl_window.c >> trunk/ecore/src/lib/ecore_win32/ecore_win32_window.c >> trunk/ecore/src/lib/ecore_wince/ecore_wince_window.c >> trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c >> trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_image.c >> trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c >> trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c >> trunk/ecore/src/lib/ecore_x/xlib/ecore_x.c >> trunk/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c >> trunk/ecore/src/lib/ecore_x/xlib/ecore_x_e.c >> trunk/ecore/src/lib/ecore_x/xlib/ecore_x_image.c >> trunk/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c >> trunk/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c >> trunk/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c >>> >>> Modified: trunk/ecore/src/lib/ecore/ecore_alloc.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore/ecore_alloc.c 2012-11-23 20:11:15 UTC >>> (rev 79576) >>> +++ trunk/ecore/src/lib/ecore/ecore_alloc.c 2012-11-23 20:25:52 UTC >>> (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include "config.h" >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include <stdlib.h> >>> >>> #include <Eina.h> >>> >>> Modified: trunk/ecore/src/lib/ecore/ecore_exe.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore/ecore_exe.c 2012-11-23 20:11:15 UTC >>> (rev 79576) >>> +++ trunk/ecore/src/lib/ecore/ecore_exe.c 2012-11-23 20:25:52 UTC >>> (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include <stdlib.h> >>> #include <stdio.h> >>> #include <string.h> >>> >>> Modified: trunk/ecore/src/lib/ecore/ecore_getopt.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore/ecore_getopt.c 2012-11-23 20:11:15 UTC >>> (rev 79576) >>> +++ trunk/ecore/src/lib/ecore/ecore_getopt.c 2012-11-23 20:25:52 UTC >>> (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #ifdef STDC_HEADERS >>> # include <stdlib.h> >>> # include <stddef.h> >>> @@ -10,23 +28,6 @@ >>> # include <stdlib.h> >>> # endif >>> #endif >>> -#ifdef HAVE_ALLOCA_H >>> -# include <alloca.h> >>> -#elif !defined alloca >>> -# ifdef __GNUC__ >>> -# define alloca __builtin_alloca >>> -# elif defined _AIX >>> -# define alloca __alloca >>> -# elif defined _MSC_VER >>> -# include <malloc.h> >>> -# define alloca _alloca >>> -# elif !defined HAVE_ALLOCA >>> -# ifdef __cplusplus >>> -extern "C" >>> -# endif >>> -void *alloca (size_t); >>> -# endif >>> -#endif >>> >>> #include <stdlib.h> >>> #include <stdio.h> >>> >>> Modified: trunk/ecore/src/lib/ecore_con/dns.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_con/dns.c 2012-11-23 20:11:15 UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_con/dns.c 2012-11-23 20:25:52 UTC (rev 79577) >>> @@ -27,6 +27,24 @@ >>> # include "config.h" >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #if !defined(__FreeBSD__) >>> #ifndef _XOPEN_SOURCE >>> #define _XOPEN_SOURCE 600 >>> >>> Modified: trunk/ecore/src/lib/ecore_con/ecore_con.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_con/ecore_con.c 2012-11-23 20:11:15 UTC >>> (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_con/ecore_con.c 2012-11-23 20:25:52 UTC >>> (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include <stdio.h> >>> #include <string.h> >>> #include <sys/types.h> >>> >>> Modified: trunk/ecore/src/lib/ecore_con/ecore_con_alloc.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_con/ecore_con_alloc.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_con/ecore_con_alloc.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include "config.h" >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include "Ecore.h" >>> #include "ecore_private.h" >>> #include "Ecore_Con.h" >>> >>> Modified: trunk/ecore/src/lib/ecore_con/ecore_con_eet.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_con/ecore_con_eet.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_con/ecore_con_eet.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include <Eina.h> >>> >>> #include "Ecore_Con_Eet.h" >>> >>> Modified: trunk/ecore/src/lib/ecore_con/ecore_con_info.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_con/ecore_con_info.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_con/ecore_con_info.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -9,6 +9,7 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> #ifdef HAVE_ALLOCA_H >>> # include <alloca.h> >>> #elif defined __GNUC__ >>> >>> Modified: trunk/ecore/src/lib/ecore_con/ecore_con_local_win32.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_con/ecore_con_local_win32.c 2012-11-23 >>> 20:11:15 UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_con/ecore_con_local_win32.c 2012-11-23 >>> 20:25:52 UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include <process.h> >>> >>> #include <Evil.h> >>> >>> Modified: trunk/ecore/src/lib/ecore_con/ecore_con_socks.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_con/ecore_con_socks.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_con/ecore_con_socks.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include <stdio.h> >>> #include <string.h> >>> #include <sys/types.h> >>> >>> Modified: trunk/ecore/src/lib/ecore_con/ecore_con_ssl.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_con/ecore_con_ssl.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_con/ecore_con_ssl.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #if USE_GNUTLS >>> # include <gnutls/gnutls.h> >>> # include <gnutls/x509.h> >>> >>> Modified: trunk/ecore/src/lib/ecore_config/ecore_config.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_config/ecore_config.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_config/ecore_config.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include <string.h> >>> #include <ctype.h> >>> #include <stdio.h> >>> >>> Modified: trunk/ecore/src/lib/ecore_evas/ecore_evas_extn.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_evas/ecore_evas_extn.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_evas/ecore_evas_extn.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include <stdio.h> >>> #include <stdlib.h> >>> #include <sys/types.h> >>> >>> Modified: trunk/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c 2012-11-23 >>> 20:11:15 UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c 2012-11-23 >>> 20:25:52 UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include "config.h" >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> //#define LOGFNS 1 >>> >>> #ifdef LOGFNS >>> >>> Modified: trunk/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c 2012-11-23 >>> 20:11:15 UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c 2012-11-23 >>> 20:25:52 UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include "config.h" >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> //#define LOGFNS 1 >>> >>> #ifdef LOGFNS >>> >>> Modified: trunk/ecore/src/lib/ecore_fb/ecore_fb_vt.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_fb/ecore_fb_vt.c 2012-11-23 20:11:15 UTC >>> (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_fb/ecore_fb_vt.c 2012-11-23 20:25:52 UTC >>> (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include "Ecore_Fb.h" >>> #include "ecore_fb_private.h" >>> >>> >>> Modified: trunk/ecore/src/lib/ecore_file/ecore_file.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_file/ecore_file.c 2012-11-23 20:11:15 UTC >>> (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_file/ecore_file.c 2012-11-23 20:25:52 UTC >>> (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include <stdlib.h> >>> #include <stdio.h> >>> #include <string.h> >>> >>> Modified: trunk/ecore/src/lib/ecore_file/ecore_file_monitor.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_file/ecore_file_monitor.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_file/ecore_file_monitor.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include "ecore_file_private.h" >>> >>> typedef enum { >>> >>> Modified: trunk/ecore/src/lib/ecore_imf/ecore_imf_context.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_imf/ecore_imf_context.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_imf/ecore_imf_context.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include <stdlib.h> >>> #include <string.h> >>> #include <locale.h> >>> >>> Modified: trunk/ecore/src/lib/ecore_ipc/ecore_ipc.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_ipc/ecore_ipc.c 2012-11-23 20:11:15 UTC >>> (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_ipc/ecore_ipc.c 2012-11-23 20:25:52 UTC >>> (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include <string.h> >>> >>> #ifdef HAVE_NETINET_IN_H >>> >>> Modified: trunk/ecore/src/lib/ecore_wayland/ecore_wl.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_wayland/ecore_wl.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_wayland/ecore_wl.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include <fcntl.h> >>> #include "ecore_wl_private.h" >>> >>> >>> Modified: trunk/ecore/src/lib/ecore_wayland/ecore_wl_output.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_wayland/ecore_wl_output.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_wayland/ecore_wl_output.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include "ecore_wl_private.h" >>> >>> /* local function prototypes */ >>> >>> Modified: trunk/ecore/src/lib/ecore_wayland/ecore_wl_window.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_wayland/ecore_wl_window.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_wayland/ecore_wl_window.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include "ecore_wl_private.h" >>> >>> /* local function prototypes */ >>> >>> Modified: trunk/ecore/src/lib/ecore_win32/ecore_win32_window.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_win32/ecore_win32_window.c 2012-11-23 >>> 20:11:15 UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_win32/ecore_win32_window.c 2012-11-23 >>> 20:25:52 UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include <stdlib.h> >>> #include <stdio.h> /* for printf */ >>> >>> >>> Modified: trunk/ecore/src/lib/ecore_wince/ecore_wince_window.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_wince/ecore_wince_window.c 2012-11-23 >>> 20:11:15 UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_wince/ecore_wince_window.c 2012-11-23 >>> 20:25:52 UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #define WIN32_LEAN_AND_MEAN >>> #include <windows.h> >>> #undef WIN32_LEAN_AND_MEAN >>> >>> Modified: trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -1,3 +1,25 @@ >>> +#ifdef HAVE_CONFIG_H >>> +# include <config.h> >>> +#endif >>> + >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include "ecore_xcb_private.h" >>> >>> /* local function prototypes */ >>> >>> Modified: trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_image.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_image.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_image.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -1,3 +1,25 @@ >>> +#ifdef HAVE_CONFIG_H >>> +# include <config.h> >>> +#endif >>> + >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include "ecore_xcb_private.h" >>> #include <sys/ipc.h> >>> #include <sys/shm.h> >>> >>> Modified: trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c 2012-11-23 >>> 20:11:15 UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c 2012-11-23 >>> 20:25:52 UTC (rev 79577) >>> @@ -1,3 +1,25 @@ >>> +#ifdef HAVE_CONFIG_H >>> +# include <config.h> >>> +#endif >>> + >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include "ecore_xcb_private.h" >>> //#include "Ecore_X_Atoms.h" >>> >>> >>> Modified: trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -1,3 +1,25 @@ >>> +#ifdef HAVE_CONFIG_H >>> +# include <config.h> >>> +#endif >>> + >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include "ecore_xcb_private.h" >>> #ifdef ECORE_XCB_RENDER >>> # include <xcb/render.h> >>> >>> Modified: trunk/ecore/src/lib/ecore_x/xlib/ecore_x.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_x/xlib/ecore_x.c 2012-11-23 20:11:15 UTC >>> (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_x/xlib/ecore_x.c 2012-11-23 20:25:52 UTC >>> (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif /* ifdef HAVE_CONFIG_H */ >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include <stdlib.h> >>> #include <string.h> >>> #include <unistd.h> >>> >>> Modified: trunk/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -2,6 +2,7 @@ >>> # include <config.h> >>> #endif /* ifdef HAVE_CONFIG_H */ >>> >>> +#undef alloca >>> #ifdef HAVE_ALLOCA_H >>> # include <alloca.h> >>> #elif defined __GNUC__ >>> >>> Modified: trunk/ecore/src/lib/ecore_x/xlib/ecore_x_e.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_x/xlib/ecore_x_e.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_x/xlib/ecore_x_e.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -6,6 +6,24 @@ >>> # include <config.h> >>> #endif /* ifdef HAVE_CONFIG_H */ >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include "Ecore.h" >>> #include "ecore_x_private.h" >>> #include "Ecore_X.h" >>> >>> Modified: trunk/ecore/src/lib/ecore_x/xlib/ecore_x_image.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_x/xlib/ecore_x_image.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_x/xlib/ecore_x_image.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include <stdlib.h> >>> #include <string.h> >>> #include <sys/ipc.h> >>> >>> Modified: trunk/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c 2012-11-23 20:11:15 >>> UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c 2012-11-23 20:25:52 >>> UTC (rev 79577) >>> @@ -6,6 +6,24 @@ >>> # include <config.h> >>> #endif >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include "ecore_x_private.h" >>> #include "ecore_x_randr.h" >>> #include <stdio.h> >>> >>> Modified: trunk/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c 2012-11-23 >>> 20:11:15 UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c 2012-11-23 >>> 20:25:52 UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif /* ifdef HAVE_CONFIG_H */ >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include <stdlib.h> >>> #include <string.h> >>> >>> >>> Modified: trunk/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c >>> =================================================================== >>> --- trunk/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c 2012-11-23 >>> 20:11:15 UTC (rev 79576) >>> +++ trunk/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c 2012-11-23 >>> 20:25:52 UTC (rev 79577) >>> @@ -2,6 +2,24 @@ >>> # include <config.h> >>> #endif /* ifdef HAVE_CONFIG_H */ >>> >>> +#undef alloca >>> +#ifdef HAVE_ALLOCA_H >>> +# include <alloca.h> >>> +#elif defined __GNUC__ >>> +# define alloca __builtin_alloca >>> +#elif defined _AIX >>> +# define alloca __alloca >>> +#elif defined _MSC_VER >>> +# include <malloc.h> >>> +# define alloca _alloca >>> +#else >>> +# include <stddef.h> >>> +# ifdef __cplusplus >>> +extern "C" >>> +# endif >>> +void *alloca (size_t); >>> +#endif >>> + >>> #include <stdlib.h> >>> #include <string.h> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Monitor your physical, virtual and cloud infrastructure from a single >>> web console. Get in-depth insight into apps, servers, databases, vmware, >>> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >>> Pricing starts from $795 for 25 servers or applications! >>> http://p.sf.net/sfu/zoho_dev2dev_nov >>> _______________________________________________ >>> enlightenment-svn mailing list >>> enlightenment-...@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn >> >> ------------------------------------------------------------------------------ >> Monitor your physical, virtual and cloud infrastructure from a single >> web console. Get in-depth insight into apps, servers, databases, vmware, >> SAP, cloud infrastructure, etc. Download 30-day Free Trial. >> Pricing starts from $795 for 25 servers or applications! >> http://p.sf.net/sfu/zoho_dev2dev_nov >> _______________________________________________ >> enlightenment-devel mailing list >> enlightenment-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> > > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel