From 2a19b0fab81e4f4aec444ab37caff34c18d51017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 14 Aug 2018 07:47:32 +0200 Subject: Fix compilation for OTP 21 --- src/asciideck_to_html.erl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/asciideck_to_html.erl') diff --git a/src/asciideck_to_html.erl b/src/asciideck_to_html.erl index 64f150d..62dfc11 100644 --- a/src/asciideck_to_html.erl +++ b/src/asciideck_to_html.erl @@ -14,6 +14,10 @@ -module(asciideck_to_html). +-ifdef(OTP_RELEASE). +-compile({nowarn_deprecated_function, [{erlang, get_stacktrace, 0}]}). +-endif. + -export([translate/2]). translate(AST, Opts) -> -- cgit v1.2.3