monero/src/common
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
..
compat Add glibc back compat code 2018-12-04 02:21:06 +01:00
aligned.c aligned: aligned memory alloc/realloc/free 2018-09-11 13:37:34 +00:00
aligned.h aligned: aligned memory alloc/realloc/free 2018-09-11 13:37:34 +00:00
apply_permutation.h Readd copyright starting date 2018-01-26 10:03:20 -05:00
base58.cpp Merge pull request #4894 2018-12-04 17:33:19 +02:00
base58.h a few minor (but easy) performance tweaks 2018-11-23 15:36:48 +00:00
boost_serialization_helper.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
CMakeLists.txt Pruning 2019-01-22 20:30:51 +00:00
combinator.cpp Fix issue 4793 - M/N multisig transaction signature 2018-11-20 16:50:41 +03:00
combinator.h Fix issue 4793 - M/N multisig transaction signature 2018-11-20 16:50:41 +03:00
command_line.cpp Removed a lot of unnecessary includes 2018-11-15 17:29:34 +01:00
command_line.h command_line: allow args to depend on more than one args 2018-03-05 11:19:08 +09:00
common_fwd.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
dns_utils.cpp Merge pull request #4894 2018-12-04 17:33:19 +02:00
dns_utils.h dns_utils: do not exit if DNS records are corrupt 2018-11-01 22:53:48 +00:00
download.cpp Removed a lot of unnecessary includes 2018-11-15 17:29:34 +01:00
download.h Readd copyright starting date 2018-01-26 10:03:20 -05:00
error.cpp Adding expect<T> - a value-or-error implementation 2018-09-12 22:44:34 +00:00
error.h Adding expect<T> - a value-or-error implementation 2018-09-12 22:44:34 +00:00
expect.cpp Adding expect<T> - a value-or-error implementation 2018-09-12 22:44:34 +00:00
expect.h Providing user supplied default constructor for expect<void> 2018-10-15 23:42:29 -04:00
http_connection.h various: do not propagate exception through dtor 2018-11-15 15:53:21 +00:00
i18n.cpp i18n: filter LANG/LC_LANG for valid characters, and handle @ 2019-01-08 16:03:30 +00:00
i18n.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
json_util.h wallet: ask-password can now ask without encrypting the secret spend key 2018-09-14 11:14:21 +00:00
notify.cpp notify: handle arbitrary tags 2019-01-28 19:32:28 +00:00
notify.h notify: handle arbitrary tags 2019-01-28 19:32:28 +00:00
password.cpp Removed a lot of unnecessary includes 2018-11-15 17:29:34 +01:00
password.h wallet: fix --generate-from-json using wrong password 2018-10-01 12:32:26 +00:00
perf_timer.cpp perf_timer: check allowed categories before logging 2018-12-07 14:23:47 +00:00
perf_timer.h Merge pull request #4954 2019-01-06 20:39:29 +02:00
pod-class.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
pruning.cpp Pruning 2019-01-22 20:30:51 +00:00
pruning.h Pruning 2019-01-22 20:30:51 +00:00
rpc_client.h rpc_client: Fix error handling 2018-01-29 11:54:57 +11:00
scoped_message_writer.h scoped_message_writer: protect all std::cout usage from readline 2018-11-21 12:48:43 +00:00
sfinae_helpers.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
spawn.cpp discontinue use of alloca 2019-02-25 11:11:07 +00:00
spawn.h common: Windows 'spawn' support for tx and block notifications 2018-10-02 01:53:27 +03:00
stack_trace.cpp Merge pull request #4138 2018-08-15 17:19:04 -05:00
stack_trace.h Readd copyright starting date 2018-01-26 10:03:20 -05:00
threadpool.cpp Removed a lot of unnecessary includes 2018-11-15 17:29:34 +01:00
threadpool.h threadpool: allow leaf functions to run concurrently 2018-06-26 22:15:22 +01:00
unordered_containers_boost_serialization.h Update 2018 copyright 2018-01-26 10:03:20 -05:00
updates.cpp updates: fix hash sanity checking 2018-08-05 00:19:45 +00:00
updates.h Readd copyright starting date 2018-01-26 10:03:20 -05:00
util.cpp Merge pull request #4944 2018-12-31 15:52:17 -06:00
util.h MMS (Multisig Messaging System): Initial version 2018-12-12 21:49:20 +01:00
varint.h Pruning 2019-01-22 20:30:51 +00:00