aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/cppparser/parser.cpp
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.com>2022-11-21 14:40:11 +0300
committersvidyuk <svidyuk@yandex-team.com>2022-11-21 14:40:11 +0300
commitb1c69808cc78d58df27cc15e729624bdeca42071 (patch)
tree42ef92bab3c830d6bd674b1480fd206f2f69ae26 /library/cpp/cppparser/parser.cpp
parentd8296c2cef1913f2580fefe89ef24ec4c84f5c6c (diff)
downloadydb-b1c69808cc78d58df27cc15e729624bdeca42071.tar.gz
Fix ya-bin crashes on win when yt-store is enabled
yt-store is enabled by default on all platforms including windows PR:2997752 https://a.yandex-team.ru/review/2997752 adds ifdedfs for windows to enforce MSDN requirement that memory allocated with _alligned_allocate must be deallocated with _aligned_free. PR:3110888 https://a.yandex-team.ru/review/3110888 removes 2 of 3 ifdefs added and introduces inconsistency between allc/free functions on windows. Types with alignment requiremens less then std::max_allign_t are allocated with malloc and freed with _alligned_free. ya-bin release with this commit crashes on windows unless user explicitelly disable yt-store. Restore ifdefs which were removed in PR:3110888 in order to fix the problem.
Diffstat (limited to 'library/cpp/cppparser/parser.cpp')
0 files changed, 0 insertions, 0 deletions