moneromooo-monero 7d88d8f27c
discontinue use of alloca
NetBSD emits:
warning: Warning: reference to the libc supplied alloca(3); this most likely will not work. Please use the compiler provided version of alloca(3), by supplying the appropriate compiler flags (e.g. not -std=c89).

and man 3 alloca says:

       Normally,  gcc(1)  translates  calls  to  alloca()  with  inlined code.  This is not done when either the -ansi, -std=c89, -std=c99, or the
       -std=c11 option is given and the header <alloca.h> is not included.  Otherwise, (without an -ansi or -std=c* option) the glibc  version  of
       <stdlib.h> includes <alloca.h> and that contains the lines:

           #ifdef  __GNUC__
           #define alloca(size)   __builtin_alloca (size)
           #endif

It looks like alloca is a bad idea in modern C/C++, so we use
VLAs for C and std::vector for C++.
2019-02-25 11:11:07 +00:00
..
2018-12-04 02:21:06 +01:00
2018-12-04 17:33:19 +02:00
2019-01-22 20:30:51 +00:00
2018-01-26 10:03:20 -05:00
2018-12-04 17:33:19 +02:00
2018-01-26 10:03:20 -05:00
2018-01-26 10:03:20 -05:00
2019-01-28 19:32:28 +00:00
2019-01-28 19:32:28 +00:00
2019-01-06 20:39:29 +02:00
2018-01-26 10:03:20 -05:00
2019-01-22 20:30:51 +00:00
2019-01-22 20:30:51 +00:00
2018-01-29 11:54:57 +11:00
2018-01-26 10:03:20 -05:00
2019-02-25 11:11:07 +00:00
2018-08-15 17:19:04 -05:00
2018-01-26 10:03:20 -05:00
2018-08-05 00:19:45 +00:00
2018-01-26 10:03:20 -05:00
2018-12-31 15:52:17 -06:00
2019-01-22 20:30:51 +00:00