Files
solana/sdk
mergify[bot] 0300eea0d6 Fix syscalls in the C SDK failing at runtime when compiled as C++ (#17124) (#17126)
Some syscalls are wrongly declared "static" in solana_sdk.h, which makes clang++ assume they are local to the compilation unit. It therefore ignores the extern "C" {} block and mangles their names. While that doesn't break C++ compilation, the syscall fails at runtime with something along the lines of "ELF error: Unresolved symbol (_ZL26sol_create_program_addressPK13SolSignerSeediPK9SolPubkeyS4_)".

(cherry picked from commit 6927d0c77e)

Co-authored-by: Christian Machacek <39452430+machacekch@users.noreply.github.com>
2021-05-08 17:27:56 +00:00
..
2021-05-08 06:28:08 +00:00
2021-05-08 06:28:08 +00:00
2021-05-08 06:28:08 +00:00
2021-05-08 06:28:08 +00:00
2019-07-12 18:28:42 -07:00
2021-05-08 06:28:08 +00:00