oxen-core/src
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
..
blockchain_db Pruning 2019-01-22 20:30:51 +00:00
blockchain_utilities Pruning 2019-01-22 20:30:51 +00:00
blocks blocks: fix checkpoint code generation on OpenBSD 2018-12-25 19:11:39 +00:00
checkpoints epee: avoid string allocation when parsing a pod from string 2018-12-08 02:00:34 +00:00
common discontinue use of alloca 2019-02-25 11:11:07 +00:00
crypto discontinue use of alloca 2019-02-25 11:11:07 +00:00
cryptonote_basic Merge pull request #5052 2019-01-28 21:24:55 +02:00
cryptonote_core blockchain: add --reorg-notify 2019-01-28 19:32:31 +00:00
cryptonote_protocol Merge pull request #4988 2019-01-29 16:47:17 +02:00
daemon Merge pull request #5062 2019-01-28 21:40:11 +02:00
daemonizer Merge pull request #4894 2018-12-04 17:33:19 +02:00
debug_utilities Pruning 2019-01-22 20:30:51 +00:00
device Merge pull request #5055 2019-01-28 21:27:10 +02:00
device_trezor add a bulletproof version, new bulletproof type, and rct config 2019-01-22 23:17:24 +00:00
gen_multisig Merge pull request #4036 2018-10-07 19:57:26 +02:00
mnemonics mnemonics: compare canonical words (lowercase) 2019-01-11 16:45:48 +00:00
multisig Arbitrary M/N multisig schemes: 2018-10-01 19:16:56 +03:00
net Adding initial support for broadcasting transactions over Tor 2019-01-28 23:56:33 +00:00
p2p Adding initial support for broadcasting transactions over Tor 2019-01-28 23:56:33 +00:00
platform Update 2018 copyright 2018-01-26 10:03:20 -05:00
ringct ringct: remove unused senderPk from ecdhTuple 2019-01-22 23:17:42 +00:00
rpc Adding initial support for broadcasting transactions over Tor 2019-01-28 23:56:33 +00:00
serialization Pruning 2019-01-22 20:30:51 +00:00
simplewallet Merge pull request #5056 2019-01-28 21:27:34 +02:00
wallet Merge pull request #5062 2019-01-28 21:40:11 +02:00
CMakeLists.txt Adding initial support for broadcasting transactions over Tor 2019-01-28 23:56:33 +00:00
cryptonote_config.h Adding initial support for broadcasting transactions over Tor 2019-01-28 23:56:33 +00:00
version.cpp.in fix version changes on master 2018-10-09 22:36:44 +02:00
version.h build: auto update version info without manually deleting version.h 2017-09-21 07:47:37 +09:00