From 9424c6c58f0b33f06807936958978e907574a845 Mon Sep 17 00:00:00 2001 From: George Marques Date: Tue, 3 May 2016 16:29:32 -0300 Subject: Fix windows 64-bits build. The change in `tools/doc/doc_data.cpp` is needed because the MSVC compiler does not support variable length arrays. Fix #4113 --- tools/doc/doc_data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/doc') diff --git a/tools/doc/doc_data.cpp b/tools/doc/doc_data.cpp index 4232a6480d..dc2150e6cc 100644 --- a/tools/doc/doc_data.cpp +++ b/tools/doc/doc_data.cpp @@ -64,7 +64,7 @@ void DocData::merge_from(const DocData& p_data) { // since polymorphic functions are allowed we need to check the type of // the arguments so we make sure they are different. int arg_count = cf.methods[j].arguments.size(); - bool arg_used[arg_count]; + bool* arg_used = new bool[arg_count]; for (int l = 0; l < arg_count; ++l) arg_used[l] = false; // also there is no guarantee that argument ordering will match, so we // have to check one by one so we make sure we have an exact match -- cgit v1.2.3