Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Fedora build instructions #8

Merged
merged 7 commits into from
Jan 29, 2024
Merged

Conversation

royshil
Copy link
Contributor

@royshil royshil commented Jan 26, 2024

No description provided.

@royshil royshil requested a review from umireon January 26, 2024 16:04
@umireon
Copy link
Member

umireon commented Jan 26, 2024

Building on Fedora now

docs/BUILD-FEDORA.md Outdated Show resolved Hide resolved
```
git clone https://github.com/obs-ai/obs-ocr.git
cd obs-ocr
git submodule update --init
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inja cannot be cloned. Please change the repository URL on .gitmodules to be an HTTPS URL.

@umireon
Copy link
Member

umireon commented Jan 26, 2024

On Fedora 38

[umireon@fedora-from-source obs-ocr]$ .github/scripts/build-linux --skip-deps
   =>   Configuring obs-ocr...
Preset CMake variables:

  ENABLE_FRONTEND_API:BOOL="TRUE"
  ENABLE_QT:BOOL="TRUE"

-- Could NOT find XKB (missing: XKB_LIBRARY XKB_INCLUDE_DIR) (Required is at least version "0.5.0")
Config:
 target        = single_include/inja/inja.hpp
 working_dir   = /home/umireon/obs-ocr/vendor/inja
 include_paths = []
Creating amalgamation:
 - processing "inja/inja.hpp"
...done!

Files processed: ['inja/inja.hpp']
Files included: ['inja/inja.hpp', 'inja/environment.hpp', 'inja/config.hpp', 'inja/template.hpp', 'inja/node.hpp', 'inja/function_storage.hpp', 'inja/utils.hpp', 'inja/exceptions.hpp', 'inja/statistics.hpp', 'inja/parser.hpp', 'inja/lexer.hpp', 'inja/token.hpp', 'inja/renderer.hpp']

-- Configuring done (0.3s)
-- Generating done (0.0s)
-- Build files have been written to: /home/umireon/obs-ocr/build_x86_64
   =>   Building obs-ocr...
[9/10] Building CXX object CMakeFiles/obs-ocr.dir/src/tesseract-ocr-utils.cpp.o
FAILED: CMakeFiles/obs-ocr.dir/src/tesseract-ocr-utils.cpp.o 
/usr/bin/c++ -DHAVE_OBSCONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DSIMDE_ENABLE_OPENMP -Dobs_ocr_EXPORTS -I/home/umireon/obs-ocr/build_x86_64 -I/home/umireon/obs-ocr -I/home/umireon/obs-ocr/build_x86_64/obs-ocr_autogen/include -I/home/umireon/obs-ocr/vendor/inja/include -I/home/umireon/obs-ocr/vendor/inja/third_party/include -I/home/umireon/obs-ocr/src -isystem /usr/include/obs -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtWidgets -isystem /usr/include/qt6/QtGui -isystem /home/umireon/obs-ocr/build_x86_64/_deps/opencv-src/include/opencv4 -isystem /home/umireon/obs-ocr/build_x86_64/_deps/tesseract-src/include -O2 -g -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -fopenmp-simd -fno-strict-aliasing -Wdeprecated-declarations -Wempty-body -Wenum-conversion -Werror=return-type -Wextra -Wformat -Wformat-security -Wno-conversion -Wno-float-conversion -Wno-implicit-fallthrough -Wno-missing-braces -Wno-missing-field-initializers -Wno-shadow -Wno-sign-conversion -Wno-trigraphs -Wno-unknown-pragmas -Wno-unused-function -Wno-unused-label -Wparentheses -Wshadow -Wuninitialized -Wunreachable-code -Wunused-parameter -Wunused-value -Wunused-variable -Wvla -Wconversion -Wfloat-conversion -Winvalid-offsetof -Wno-overloaded-virtual -Wno-error=maybe-uninitialized -Winfinite-recursion -mmmx -msse -msse2 -Werror -MD -MT CMakeFiles/obs-ocr.dir/src/tesseract-ocr-utils.cpp.o -MF CMakeFiles/obs-ocr.dir/src/tesseract-ocr-utils.cpp.o.d -o CMakeFiles/obs-ocr.dir/src/tesseract-ocr-utils.cpp.o -c /home/umireon/obs-ocr/src/tesseract-ocr-utils.cpp
In file included from /home/umireon/obs-ocr/vendor/inja/include/inja/utils.hpp:10,
                 from /home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:9,
                 from /home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp:9,
                 from /home/umireon/obs-ocr/vendor/inja/include/inja/config.hpp:7,
                 from /home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:11,
                 from /home/umireon/obs-ocr/vendor/inja/include/inja/inja.hpp:54,
                 from /home/umireon/obs-ocr/src/tesseract-ocr-utils.cpp:12:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::InjaError::InjaError(const std::string&, const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:20:66: error: declaration of ‘message’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   20 |   explicit InjaError(const std::string& type, const std::string& message)
      |                                               ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:20:41: error: declaration of ‘type’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   20 |   explicit InjaError(const std::string& type, const std::string& message)
      |                      ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:15:21: note: shadowed declaration is here
   15 |   const std::string type;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::InjaError::InjaError(const std::string&, const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:20:66: error: declaration of ‘message’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   20 |   explicit InjaError(const std::string& type, const std::string& message)
      |                                               ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:20:41: error: declaration of ‘type’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   20 |   explicit InjaError(const std::string& type, const std::string& message)
      |                      ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:15:21: note: shadowed declaration is here
   15 |   const std::string type;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::InjaError::InjaError(const std::string&, const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:20:66: error: declaration of ‘message’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   20 |   explicit InjaError(const std::string& type, const std::string& message)
      |                                               ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:20:41: error: declaration of ‘type’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   20 |   explicit InjaError(const std::string& type, const std::string& message)
      |                      ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:15:21: note: shadowed declaration is here
   15 |   const std::string type;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::InjaError::InjaError(const std::string&, const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:90: error: declaration of ‘location’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                                                                           ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:66: error: declaration of ‘message’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                                               ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:41: error: declaration of ‘type’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                      ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:15:21: note: shadowed declaration is here
   15 |   const std::string type;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::InjaError::InjaError(const std::string&, const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:90: error: declaration of ‘location’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                                                                           ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:66: error: declaration of ‘message’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                                               ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:41: error: declaration of ‘type’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                      ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:15:21: note: shadowed declaration is here
   15 |   const std::string type;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::InjaError::InjaError(const std::string&, const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:90: error: declaration of ‘location’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                                                                           ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:66: error: declaration of ‘message’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                                               ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:41: error: declaration of ‘type’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                      ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:15:21: note: shadowed declaration is here
   15 |   const std::string type;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::ParserError::ParserError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:29:67: error: declaration of ‘location’ shadows a member of ‘inja::ParserError’ [-Werror=shadow]
   29 |   explicit ParserError(const std::string& message, SourceLocation location): InjaError("parser_error", message, location) {}
      |                                                    ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:29:43: error: declaration of ‘message’ shadows a member of ‘inja::ParserError’ [-Werror=shadow]
   29 |   explicit ParserError(const std::string& message, SourceLocation location): InjaError("parser_error", message, location) {}
      |                        ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::ParserError::ParserError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:29:67: error: declaration of ‘location’ shadows a member of ‘inja::ParserError’ [-Werror=shadow]
   29 |   explicit ParserError(const std::string& message, SourceLocation location): InjaError("parser_error", message, location) {}
      |                                                    ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:29:43: error: declaration of ‘message’ shadows a member of ‘inja::ParserError’ [-Werror=shadow]
   29 |   explicit ParserError(const std::string& message, SourceLocation location): InjaError("parser_error", message, location) {}
      |                        ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::ParserError::ParserError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:29:67: error: declaration of ‘location’ shadows a member of ‘inja::ParserError’ [-Werror=shadow]
   29 |   explicit ParserError(const std::string& message, SourceLocation location): InjaError("parser_error", message, location) {}
      |                                                    ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:29:43: error: declaration of ‘message’ shadows a member of ‘inja::ParserError’ [-Werror=shadow]
   29 |   explicit ParserError(const std::string& message, SourceLocation location): InjaError("parser_error", message, location) {}
      |                        ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::RenderError::RenderError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:33:67: error: declaration of ‘location’ shadows a member of ‘inja::RenderError’ [-Werror=shadow]
   33 |   explicit RenderError(const std::string& message, SourceLocation location): InjaError("render_error", message, location) {}
      |                                                    ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:33:43: error: declaration of ‘message’ shadows a member of ‘inja::RenderError’ [-Werror=shadow]
   33 |   explicit RenderError(const std::string& message, SourceLocation location): InjaError("render_error", message, location) {}
      |                        ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::RenderError::RenderError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:33:67: error: declaration of ‘location’ shadows a member of ‘inja::RenderError’ [-Werror=shadow]
   33 |   explicit RenderError(const std::string& message, SourceLocation location): InjaError("render_error", message, location) {}
      |                                                    ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:33:43: error: declaration of ‘message’ shadows a member of ‘inja::RenderError’ [-Werror=shadow]
   33 |   explicit RenderError(const std::string& message, SourceLocation location): InjaError("render_error", message, location) {}
      |                        ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::RenderError::RenderError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:33:67: error: declaration of ‘location’ shadows a member of ‘inja::RenderError’ [-Werror=shadow]
   33 |   explicit RenderError(const std::string& message, SourceLocation location): InjaError("render_error", message, location) {}
      |                                                    ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:33:43: error: declaration of ‘message’ shadows a member of ‘inja::RenderError’ [-Werror=shadow]
   33 |   explicit RenderError(const std::string& message, SourceLocation location): InjaError("render_error", message, location) {}
      |                        ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::FileError::FileError(const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:37:41: error: declaration of ‘message’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   37 |   explicit FileError(const std::string& message): InjaError("file_error", message) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::FileError::FileError(const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:37:41: error: declaration of ‘message’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   37 |   explicit FileError(const std::string& message): InjaError("file_error", message) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::FileError::FileError(const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:37:41: error: declaration of ‘message’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   37 |   explicit FileError(const std::string& message): InjaError("file_error", message) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::FileError::FileError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:38:65: error: declaration of ‘location’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   38 |   explicit FileError(const std::string& message, SourceLocation location): InjaError("file_error", message, location) {}
      |                                                  ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:38:41: error: declaration of ‘message’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   38 |   explicit FileError(const std::string& message, SourceLocation location): InjaError("file_error", message, location) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::FileError::FileError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:38:65: error: declaration of ‘location’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   38 |   explicit FileError(const std::string& message, SourceLocation location): InjaError("file_error", message, location) {}
      |                                                  ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:38:41: error: declaration of ‘message’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   38 |   explicit FileError(const std::string& message, SourceLocation location): InjaError("file_error", message, location) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::FileError::FileError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:38:65: error: declaration of ‘location’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   38 |   explicit FileError(const std::string& message, SourceLocation location): InjaError("file_error", message, location) {}
      |                                                  ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:38:41: error: declaration of ‘message’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   38 |   explicit FileError(const std::string& message, SourceLocation location): InjaError("file_error", message, location) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::DataError::DataError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:42:65: error: declaration of ‘location’ shadows a member of ‘inja::DataError’ [-Werror=shadow]
   42 |   explicit DataError(const std::string& message, SourceLocation location): InjaError("data_error", message, location) {}
      |                                                  ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:42:41: error: declaration of ‘message’ shadows a member of ‘inja::DataError’ [-Werror=shadow]
   42 |   explicit DataError(const std::string& message, SourceLocation location): InjaError("data_error", message, location) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::DataError::DataError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:42:65: error: declaration of ‘location’ shadows a member of ‘inja::DataError’ [-Werror=shadow]
   42 |   explicit DataError(const std::string& message, SourceLocation location): InjaError("data_error", message, location) {}
      |                                                  ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:42:41: error: declaration of ‘message’ shadows a member of ‘inja::DataError’ [-Werror=shadow]
   42 |   explicit DataError(const std::string& message, SourceLocation location): InjaError("data_error", message, location) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::DataError::DataError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:42:65: error: declaration of ‘location’ shadows a member of ‘inja::DataError’ [-Werror=shadow]
   42 |   explicit DataError(const std::string& message, SourceLocation location): InjaError("data_error", message, location) {}
      |                                                  ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:42:41: error: declaration of ‘message’ shadows a member of ‘inja::DataError’ [-Werror=shadow]
   42 |   explicit DataError(const std::string& message, SourceLocation location): InjaError("data_error", message, location) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::AstNode::AstNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:62:18: error: declaration of ‘pos’ shadows a member of ‘inja::AstNode’ [-Werror=shadow]
   62 |   AstNode(size_t pos): pos(pos) {}
      |           ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::AstNode::AstNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:62:18: error: declaration of ‘pos’ shadows a member of ‘inja::AstNode’ [-Werror=shadow]
   62 |   AstNode(size_t pos): pos(pos) {}
      |           ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::AstNode::AstNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:62:18: error: declaration of ‘pos’ shadows a member of ‘inja::AstNode’ [-Werror=shadow]
   62 |   AstNode(size_t pos): pos(pos) {}
      |           ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::TextNode::TextNode(size_t, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:81:40: error: declaration of ‘length’ shadows a member of ‘inja::TextNode’ [-Werror=shadow]
   81 |   explicit TextNode(size_t pos, size_t length): AstNode(pos), length(length) {}
      |                                 ~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:79:16: note: shadowed declaration is here
   79 |   const size_t length;
      |                ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:81:28: error: declaration of ‘pos’ shadows a member of ‘inja::TextNode’ [-Werror=shadow]
   81 |   explicit TextNode(size_t pos, size_t length): AstNode(pos), length(length) {}
      |                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::TextNode::TextNode(size_t, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:81:40: error: declaration of ‘length’ shadows a member of ‘inja::TextNode’ [-Werror=shadow]
   81 |   explicit TextNode(size_t pos, size_t length): AstNode(pos), length(length) {}
      |                                 ~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:79:16: note: shadowed declaration is here
   79 |   const size_t length;
      |                ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:81:28: error: declaration of ‘pos’ shadows a member of ‘inja::TextNode’ [-Werror=shadow]
   81 |   explicit TextNode(size_t pos, size_t length): AstNode(pos), length(length) {}
      |                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::TextNode::TextNode(size_t, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:81:40: error: declaration of ‘length’ shadows a member of ‘inja::TextNode’ [-Werror=shadow]
   81 |   explicit TextNode(size_t pos, size_t length): AstNode(pos), length(length) {}
      |                                 ~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:79:16: note: shadowed declaration is here
   79 |   const size_t length;
      |                ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:81:28: error: declaration of ‘pos’ shadows a member of ‘inja::TextNode’ [-Werror=shadow]
   81 |   explicit TextNode(size_t pos, size_t length): AstNode(pos), length(length) {}
      |                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExpressionNode::ExpressionNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:90:34: error: declaration of ‘pos’ shadows a member of ‘inja::ExpressionNode’ [-Werror=shadow]
   90 |   explicit ExpressionNode(size_t pos): AstNode(pos) {}
      |                           ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExpressionNode::ExpressionNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:90:34: error: declaration of ‘pos’ shadows a member of ‘inja::ExpressionNode’ [-Werror=shadow]
   90 |   explicit ExpressionNode(size_t pos): AstNode(pos) {}
      |                           ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExpressionNode::ExpressionNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:90:34: error: declaration of ‘pos’ shadows a member of ‘inja::ExpressionNode’ [-Werror=shadow]
   90 |   explicit ExpressionNode(size_t pos): AstNode(pos) {}
      |                           ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::LiteralNode::LiteralNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:101:59: error: declaration of ‘pos’ shadows a member of ‘inja::LiteralNode’ [-Werror=shadow]
  101 |   explicit LiteralNode(std::string_view data_text, size_t pos): ExpressionNode(pos), value(json::parse(data_text)) {}
      |                                                    ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::LiteralNode::LiteralNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:101:59: error: declaration of ‘pos’ shadows a member of ‘inja::LiteralNode’ [-Werror=shadow]
  101 |   explicit LiteralNode(std::string_view data_text, size_t pos): ExpressionNode(pos), value(json::parse(data_text)) {}
      |                                                    ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::LiteralNode::LiteralNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:101:59: error: declaration of ‘pos’ shadows a member of ‘inja::LiteralNode’ [-Werror=shadow]
  101 |   explicit LiteralNode(std::string_view data_text, size_t pos): ExpressionNode(pos), value(json::parse(data_text)) {}
      |                                                    ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::DataNode::DataNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:124:55: error: declaration of ‘pos’ shadows a member of ‘inja::DataNode’ [-Werror=shadow]
  124 |   explicit DataNode(std::string_view ptr_name, size_t pos): ExpressionNode(pos), name(ptr_name), ptr(json::json_pointer(convert_dot_to_ptr(ptr_name))) {}
      |                                                ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::DataNode::DataNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:124:55: error: declaration of ‘pos’ shadows a member of ‘inja::DataNode’ [-Werror=shadow]
  124 |   explicit DataNode(std::string_view ptr_name, size_t pos): ExpressionNode(pos), name(ptr_name), ptr(json::json_pointer(convert_dot_to_ptr(ptr_name))) {}
      |                                                ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::DataNode::DataNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:124:55: error: declaration of ‘pos’ shadows a member of ‘inja::DataNode’ [-Werror=shadow]
  124 |   explicit DataNode(std::string_view ptr_name, size_t pos): ExpressionNode(pos), name(ptr_name), ptr(json::json_pointer(convert_dot_to_ptr(ptr_name))) {}
      |                                                ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::FunctionNode::FunctionNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:150:55: error: declaration of ‘pos’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  150 |   explicit FunctionNode(std::string_view name, size_t pos)
      |                                                ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:150:42: error: declaration of ‘name’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  150 |   explicit FunctionNode(std::string_view name, size_t pos)
      |                         ~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:145:15: note: shadowed declaration is here
  145 |   std::string name;
      |               ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::FunctionNode::FunctionNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:150:55: error: declaration of ‘pos’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  150 |   explicit FunctionNode(std::string_view name, size_t pos)
      |                                                ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:150:42: error: declaration of ‘name’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  150 |   explicit FunctionNode(std::string_view name, size_t pos)
      |                         ~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:145:15: note: shadowed declaration is here
  145 |   std::string name;
      |               ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::FunctionNode::FunctionNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:150:55: error: declaration of ‘pos’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  150 |   explicit FunctionNode(std::string_view name, size_t pos)
      |                                                ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:150:42: error: declaration of ‘name’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  150 |   explicit FunctionNode(std::string_view name, size_t pos)
      |                         ~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:145:15: note: shadowed declaration is here
  145 |   std::string name;
      |               ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::FunctionNode::FunctionNode(Op, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:152:46: error: declaration of ‘pos’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  152 |   explicit FunctionNode(Op operation, size_t pos): ExpressionNode(pos), operation(operation), number_args(1) {
      |                                       ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:152:28: error: declaration of ‘operation’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  152 |   explicit FunctionNode(Op operation, size_t pos): ExpressionNode(pos), operation(operation), number_args(1) {
      |                         ~~~^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:143:6: note: shadowed declaration is here
  143 |   Op operation;
      |      ^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::FunctionNode::FunctionNode(Op, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:152:46: error: declaration of ‘pos’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  152 |   explicit FunctionNode(Op operation, size_t pos): ExpressionNode(pos), operation(operation), number_args(1) {
      |                                       ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:152:28: error: declaration of ‘operation’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  152 |   explicit FunctionNode(Op operation, size_t pos): ExpressionNode(pos), operation(operation), number_args(1) {
      |                         ~~~^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:143:6: note: shadowed declaration is here
  143 |   Op operation;
      |      ^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::FunctionNode::FunctionNode(Op, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:152:46: error: declaration of ‘pos’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  152 |   explicit FunctionNode(Op operation, size_t pos): ExpressionNode(pos), operation(operation), number_args(1) {
      |                                       ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:152:28: error: declaration of ‘operation’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  152 |   explicit FunctionNode(Op operation, size_t pos): ExpressionNode(pos), operation(operation), number_args(1) {
      |                         ~~~^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:143:6: note: shadowed declaration is here
  143 |   Op operation;
      |      ^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExpressionListNode::ExpressionListNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:256:38: error: declaration of ‘pos’ shadows a member of ‘inja::ExpressionListNode’ [-Werror=shadow]
  256 |   explicit ExpressionListNode(size_t pos): AstNode(pos) {}
      |                               ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExpressionListNode::ExpressionListNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:256:38: error: declaration of ‘pos’ shadows a member of ‘inja::ExpressionListNode’ [-Werror=shadow]
  256 |   explicit ExpressionListNode(size_t pos): AstNode(pos) {}
      |                               ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExpressionListNode::ExpressionListNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:256:38: error: declaration of ‘pos’ shadows a member of ‘inja::ExpressionListNode’ [-Werror=shadow]
  256 |   explicit ExpressionListNode(size_t pos): AstNode(pos) {}
      |                               ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::StatementNode::StatementNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:265:24: error: declaration of ‘pos’ shadows a member of ‘inja::StatementNode’ [-Werror=shadow]
  265 |   StatementNode(size_t pos): AstNode(pos) {}
      |                 ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::StatementNode::StatementNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:265:24: error: declaration of ‘pos shadows a member of ‘inja::StatementNode’ [-Werror=shadow]
  265 |   StatementNode(size_t pos): AstNode(pos) {}
      |                 ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::StatementNode::StatementNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:265:24: error: declaration of ‘pos’ shadows a member of ‘inja::StatementNode’ [-Werror=shadow]
  265 |   StatementNode(size_t pos): AstNode(pos) {}
      |                 ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForStatementNode::ForStatementNode(inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:276:52: error: declaration of ‘pos’ shadows a member of ‘inja::ForStatementNode’ [-Werror=shadow]
  276 |   ForStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent) {}
      |                                             ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:276:37: error: declaration of ‘parent’ shadows a member of ‘inja::ForStatementNode’ [-Werror=shadow]
  276 |   ForStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent) {}
      |                    ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForStatementNode::ForStatementNode(inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:276:52: error: declaration of ‘pos’ shadows a member of ‘inja::ForStatementNode’ [-Werror=shadow]
  276 |   ForStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent) {}
      |                                             ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:276:37: error: declaration of ‘parent’ shadows a member of ‘inja::ForStatementNode’ [-Werror=shadow]
  276 |   ForStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent) {}
      |                    ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForStatementNode::ForStatementNode(inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:276:52: error: declaration of ‘pos’ shadows a member of ‘inja::ForStatementNode’ [-Werror=shadow]
  276 |   ForStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent) {}
      |                                             ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:276:37: error: declaration of ‘parent’ shadows a member of ‘inja::ForStatementNode’ [-Werror=shadow]
  276 |   ForStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent) {}
      |                    ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForArrayStatementNode::ForArrayStatementNode(const std::string&, inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:92: error: declaration of ‘pos’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:77: error: declaration of ‘parent’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:53: error: declaration of ‘value’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                  ~~~~~~~~~~~~~~~~~~~^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:283:21: note: shadowed declaration is here
  283 |   const std::string value;
      |                     ^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForArrayStatementNode::ForArrayStatementNode(const std::string&, inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:92: error: declaration of ‘pos’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:77: error: declaration of ‘parent’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:53: error: declaration of ‘value’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                  ~~~~~~~~~~~~~~~~~~~^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:283:21: note: shadowed declaration is here
  283 |   const std::string value;
      |                     ^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForArrayStatementNode::ForArrayStatementNode(const std::string&, inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:92: error: declaration of ‘pos’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:77: error: declaration of ‘parent’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:53: error: declaration of ‘value’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                  ~~~~~~~~~~~~~~~~~~~^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:283:21: note: shadowed declaration is here
  283 |   const std::string value;
      |                     ^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForObjectStatementNode::ForObjectStatementNode(const std::string&, const std::string&, inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:117: error: declaration of ‘pos’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                                                                              ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:102: error: declaration of ‘parent’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                                                     ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:78: error: declaration of ‘value’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                           ~~~~~~~~~~~~~~~~~~~^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:295:21: note: shadowed declaration is here
  295 |   const std::string value;
      |                     ^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:54: error: declaration of ‘key’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                   ~~~~~~~~~~~~~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:294:21: note: shadowed declaration is here
  294 |   const std::string key;
      |                     ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForObjectStatementNode::ForObjectStatementNode(const std::string&, const std::string&, inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:117: error: declaration of ‘pos’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                                                                              ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:102: error: declaration of ‘parent’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                                                     ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:78: error: declaration of ‘value’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                           ~~~~~~~~~~~~~~~~~~~^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:295:21: note: shadowed declaration is here
  295 |   const std::string value;
      |                     ^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:54: error: declaration of ‘key’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                   ~~~~~~~~~~~~~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:294:21: note: shadowed declaration is here
  294 |   const std::string key;
      |                     ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForObjectStatementNode::ForObjectStatementNode(const std::string&, const std::string&, inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:117: error: declaration of ‘pos’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                                                                              ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:102: error: declaration of ‘parent’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                                                     ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:78: error: declaration of ‘value’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                           ~~~~~~~~~~~~~~~~~~~^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:295:21: note: shadowed declaration is here
  295 |   const std::string value;
      |                     ^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:54: error: declaration of ‘key’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                   ~~~~~~~~~~~~~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:294:21: note: shadowed declaration is here
  294 |   const std::string key;
      |                     ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IfStatementNode::IfStatementNode(inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:315:60: error: declaration of ‘pos’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  315 |   explicit IfStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(false) {}
      |                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:315:45: error: declaration of ‘parent’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  315 |   explicit IfStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(false) {}
      |                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:310:20: note: shadowed declaration is here
  310 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IfStatementNode::IfStatementNode(inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:315:60: error: declaration of ‘pos’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  315 |   explicit IfStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(false) {}
      |                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:315:45: error: declaration of ‘parent’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  315 |   explicit IfStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(false) {}
      |                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:310:20: note: shadowed declaration is here
  310 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IfStatementNode::IfStatementNode(inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:315:60: error: declaration of ‘pos’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  315 |   explicit IfStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(false) {}
      |                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:315:45: error: declaration of ‘parent’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  315 |   explicit IfStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(false) {}
      |                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:310:20: note: shadowed declaration is here
  310 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IfStatementNode::IfStatementNode(bool, inja::BlockNode*, size_t):
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:76: error: declaration of ‘pos’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:61: error: declaration of ‘parent’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:310:20: note: shadowed declaration is here
  310 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:33: error: declaration of ‘is_nested’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                            ~~~~~^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:312:14: note: shadowed declaration is here
  312 |   const bool is_nested;
      |              ^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IfStatementNode::IfStatementNode(bool, inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:76: error: declaration of ‘pos’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:61: error: declaration of ‘parent’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:310:20: note: shadowed declaration is here
  310 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:33: error: declaration of ‘is_nested’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                            ~~~~~^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:312:14: note: shadowed declaration is here
  312 |   const bool is_nested;
      |              ^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IfStatementNode::IfStatementNode(bool, inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:76: error: declaration of ‘pos’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:61: error: declaration of ‘parent’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:310:20: note: shadowed declaration is here
  310 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:33: error: declaration of ‘is_nested’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                            ~~~~~^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:312:14: note: shadowed declaration is here
  312 |   const bool is_nested;
      |              ^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IncludeStatementNode::IncludeStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:327:65: error: declaration of ‘pos’ shadows a member of ‘inja::IncludeStatementNode’ [-Werror=shadow]
  327 |   explicit IncludeStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                                          ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:327:52: error: declaration of ‘file’ shadows a member of ‘inja::IncludeStatementNode’ [-Werror=shadow]
  327 |   explicit IncludeStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                 ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:325:21: note: shadowed declaration is here
  325 |   const std::string file;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IncludeStatementNode::IncludeStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:327:65: error: declaration of ‘pos’ shadows a member of ‘inja::IncludeStatementNode’ [-Werror=shadow]
  327 |   explicit IncludeStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                                          ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:327:52: error: declaration of ‘file’ shadows a member of ‘inja::IncludeStatementNode’ [-Werror=shadow]
  327 |   explicit IncludeStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                 ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:325:21: note: shadowed declaration is here
  325 |   const std::string file;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IncludeStatementNode::IncludeStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:327:65: error: declaration of ‘pos’ shadows a member of ‘inja::IncludeStatementNode’ [-Werror=shadow]
  327 |   explicit IncludeStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                                          ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:327:52: error: declaration of ‘file’ shadows a member of ‘inja::IncludeStatementNode’ [-Werror=shadow]
  327 |   explicit IncludeStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                 ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:325:21: note: shadowed declaration is here
  325 |   const std::string file;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExtendsStatementNode::ExtendsStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:338:65: error: declaration of ‘pos’ shadows a member of ‘inja::ExtendsStatementNode’ [-Werror=shadow]
  338 |   explicit ExtendsStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                                          ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:338:52: error: declaration of ‘file’ shadows a member of ‘inja::ExtendsStatementNode’ [-Werror=shadow]
  338 |   explicit ExtendsStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                 ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:336:21: note: shadowed declaration is here
  336 |   const std::string file;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExtendsStatementNode::ExtendsStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:338:65: error: declaration of ‘pos’ shadows a member of ‘inja::ExtendsStatementNode’ [-Werror=shadow]
  338 |   explicit ExtendsStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                                          ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:338:52: error: declaration of ‘file’ shadows a member of ‘inja::ExtendsStatementNode’ [-Werror=shadow]
  338 |   explicit ExtendsStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                 ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:336:21: note: shadowed declaration is here
  336 |   const std::string file;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExtendsStatementNode::ExtendsStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:338:65: error: declaration of ‘pos’ shadows a member of ‘inja::ExtendsStatementNode’ [-Werror=shadow]
  338 |   explicit ExtendsStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                                          ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:338:52: error: declaration of ‘file’ shadows a member of ‘inja::ExtendsStatementNode’ [-Werror=shadow]
  338 |   explicit ExtendsStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                 ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:336:21: note: shadowed declaration is here
  336 |   const std::string file;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::BlockStatementNode::BlockStatementNode(inja::BlockNode*, const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:88: error: declaration of ‘pos’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                                                                                 ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:75: error: declaration of ‘name’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                                                        ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:347:21: note: shadowed declaration is here
  347 |   const std::string name;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:48: error: declaration of ‘parent’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                               ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:349:20: note: shadowed declaration is here
  349 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::BlockStatementNode::BlockStatementNode(inja::BlockNode*, const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:88: error: declaration of ‘pos’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                                                                                 ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:75: error: declaration of ‘name’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                                                        ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:347:21: note: shadowed declaration is here
  347 |   const std::string name;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:48: error: declaration of ‘parent’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                               ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:349:20: note: shadowed declaration is here
  349 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::BlockStatementNode::BlockStatementNode(inja::BlockNode*, const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:88: error: declaration of ‘pos’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                                                                                 ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:75: error: declaration of ‘name’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                                                        ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:347:21: note: shadowed declaration is here
  347 |   const std::string name;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:48: error: declaration of ‘parent’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                               ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:349:20: note: shadowed declaration is here
  349 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::SetStatementNode::SetStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:363:60: error: declaration of ‘pos’ shadows a member of ‘inja::SetStatementNode’ [-Werror=shadow]
  363 |   explicit SetStatementNode(const std::string& key, size_t pos): StatementNode(pos), key(key) {}
      |                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:363:48: error: declaration of ‘key’ shadows a member of ‘inja::SetStatementNode’ [-Werror=shadow]
  363 |   explicit SetStatementNode(const std::string& key, size_t pos): StatementNode(pos), key(key) {}
      |                             ~~~~~~~~~~~~~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:360:21: note: shadowed declaration is here
  360 |   const std::string key;
      |                     ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::SetStatementNode::SetStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:363:60: error: declaration of ‘pos’ shadows a member of ‘inja::SetStatementNode’ [-Werror=shadow]
  363 |   explicit SetStatementNode(const std::string& key, size_t pos): StatementNode(pos), key(key) {}
      |                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:363:48: error: declaration of ‘key’ shadows a member of ‘inja::SetStatementNode’ [-Werror=shadow]
  363 |   explicit SetStatementNode(const std::string& key, size_t pos): StatementNode(pos), key(key) {}
      |                             ~~~~~~~~~~~~~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:360:21: note: shadowed declaration is here
  360 |   const std::string key;
      |                     ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::SetStatementNode::SetStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:363:60: error: declaration of ‘pos’ shadows a member of ‘inja::SetStatementNode’ [-Werror=shadow]
  363 |   explicit SetStatementNode(const std::string& key, size_t pos): StatementNode(pos), key(key) {}
      |                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:363:48: error: declaration of ‘key’ shadows a member of ‘inja::SetStatementNode’ [-Werror=shadow]
  363 |   explicit SetStatementNode(const std::string& key, size_t pos): StatementNode(pos), key(key) {}
      |                             ~~~~~~~~~~~~~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:360:21: note: shadowed declaration is here
  360 |   const std::string key;
      |                     ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp: In constructor ‘inja::Template::Template(const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp:23:40: error: declaration of ‘content’ shadows a member of ‘inja::Template’ [-Werror=shadow]
   23 |   explicit Template(const std::string& content): content(content) {}
      |                     ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp:19:15: note: shadowed declaration is here
   19 |   std::string content;
      |               ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp: In constructor ‘inja::Template::Template(const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp:23:40: error: declaration of ‘content’ shadows a member of ‘inja::Template’ [-Werror=shadow]
   23 |   explicit Template(const std::string& content): content(content) {}
      |                     ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp:19:15: note: shadowed declaration is here
   19 |   std::string content;
      |               ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp: In constructor ‘inja::Template::Template(const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp:23:40: error: declaration of ‘content’ shadows a member of ‘inja::Template’ [-Werror=shadow]
   23 |   explicit Template(const std::string& content): content(content) {}
      |                     ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp:19:15: note: shadowed declaration is here
   19 |   std::string content;
      |               ^~~~~~~
In file included from /home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp:8,
                 from /home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:13,
                 from /home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:13:
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp: In constructor ‘constexpr inja::Token::Token(Kind, std::string_view)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:55:56: error: declaration of ‘text’ shadows a member of ‘inja::Token’ [-Werror=shadow]
   55 |   explicit constexpr Token(Kind kind, std::string_view text): kind(kind), text(text) {}
      |                                       ~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:52:20: note: shadowed declaration is here
   52 |   std::string_view text;
      |                    ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:55:33: error: declaration of ‘kind’ shadows a member of ‘inja::Token’ [-Werror=shadow]
   55 |   explicit constexpr Token(Kind kind, std::string_view text): kind(kind), text(text) {}
      |                            ~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:51:8: note: shadowed declaration is here
   51 |   Kind kind {Kind::Unknown};
      |        ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp: In constructor ‘constexpr inja::Token::Token(Kind, std::string_view)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:55:56: error: declaration of ‘text’ shadows a member of ‘inja::Token’ [-Werror=shadow]
   55 |   explicit constexpr Token(Kind kind, std::string_view text): kind(kind), text(text) {}
      |                                       ~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:52:20: note: shadowed declaration is here
   52 |   std::string_view text;
      |                    ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:55:33: error: declaration of ‘kind’ shadows a member of ‘inja::Token’ [-Werror=shadow]
   55 |   explicit constexpr Token(Kind kind, std::string_view text): kind(kind), text(text) {}
      |                            ~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:51:8: note: shadowed declaration is here
   51 |   Kind kind {Kind::Unknown};
      |        ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp: In constructor ‘constexpr inja::Token::Token(Kind, std::string_view)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:55:56: error: declaration of ‘text’ shadows a member of ‘inja::Token’ [-Werror=shadow]
   55 |   explicit constexpr Token(Kind kind, std::string_view text): kind(kind), text(text) {}
      |                                       ~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:52:20: note: shadowed declaration is here
   52 |   std::string_view text;
      |                    ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:55:33: error: declaration of ‘kind’ shadows a member of ‘inja::Token’ [-Werror=shadow]
   55 |   explicit constexpr Token(Kind kind, std::string_view text): kind(kind), text(text) {}
      |                            ~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:51:8: note: shadowed declaration is here
   51 |   Kind kind {Kind::Unknown};
      |        ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp: In constructor ‘inja::Lexer::Lexer(const inja::LexerConfig&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp:274:37: error: declaration of ‘config’ shadows a member of ‘inja::Lexer’ [-Werror=shadow]
  274 |   explicit Lexer(const LexerConfig& config): config(config), state(State::Text), minus_state(MinusState::Number) {}
      |                  ~~~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp:38:22: note: shadowed declaration is here
   38 |   const LexerConfig& config;
      |                      ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp: In constructor ‘inja::Lexer::Lexer(const inja::LexerConfig&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp:274:37: error: declaration of ‘config’ shadows a member of ‘inja::Lexer’ [-Werror=shadow]
  274 |   explicit Lexer(const LexerConfig& config): config(config), state(State::Text), minus_state(MinusState::Number) {}
      |                  ~~~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp:38:22: note: shadowed declaration is here
   38 |   const LexerConfig& config;
      |                      ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp: In constructor ‘inja::Lexer::Lexer(const inja::LexerConfig&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp:274:37: error: declaration of ‘config’ shadows a member of ‘inja::Lexer’ [-Werror=shadow]
  274 |   explicit Lexer(const LexerConfig& config): config(config), state(State::Text), minus_state(MinusState::Number) {}
      |                  ~~~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp:38:22: note: shadowed declaration is here
   38 |   const LexerConfig& config;
      |                      ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp: In constructor ‘inja::Parser::Parser(const inja::ParserConfig&, const inja::LexerConfig&, inja::TemplateStorage&, const inja::FunctionStorage&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:620:42: error: declaration of ‘function_storage’ shadows a member of ‘inja::Parser’ [-Werror=shadow]
  620 |                   const FunctionStorage& function_storage)
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:32:26: note: shadowed declaration is here
   32 |   const FunctionStorage& function_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:619:104: error: declaration of ‘template_storage’ shadows a member of ‘inja::Parser’ [-Werror=shadow]
  619 |   explicit Parser(const ParserConfig& parser_config, const LexerConfig& lexer_config, TemplateStorage& template_storage,
      |                                                                                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:31:20: note: shadowed declaration is here
   31 |   TemplateStorage& template_storage;
      |                    ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp: In constructor ‘inja::Parser::Parser(const inja::ParserConfig&, const inja::LexerConfig&, inja::TemplateStorage&, const inja::FunctionStorage&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:620:42: error: declaration of ‘function_storage’ shadows a member of ‘inja::Parser’ [-Werror=shadow]
  620 |                   const FunctionStorage& function_storage)
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:32:26: note: shadowed declaration is here
   32 |   const FunctionStorage& function_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:619:104: error: declaration of ‘template_storage’ shadows a member of ‘inja::Parser’ [-Werror=shadow]
  619 |   explicit Parser(const ParserConfig& parser_config, const LexerConfig& lexer_config, TemplateStorage& template_storage,
      |                                                                                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:31:20: note: shadowed declaration is here
   31 |   TemplateStorage& template_storage;
      |                    ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp: In constructor ‘inja::Parser::Parser(const inja::ParserConfig&, const inja::LexerConfig&, inja::TemplateStorage&, const inja::FunctionStorage&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:620:42: error: declaration of ‘function_storage’ shadows a member of ‘inja::Parser’ [-Werror=shadow]
  620 |                   const FunctionStorage& function_storage)
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:32:26: note: shadowed declaration is here
   32 |   const FunctionStorage& function_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:619:104: error: declaration of ‘template_storage’ shadows a member of ‘inja::Parser’ [-Werror=shadow]
  619 |   explicit Parser(const ParserConfig& parser_config, const LexerConfig& lexer_config, TemplateStorage& template_storage,
      |                                                                                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:31:20: note: shadowed declaration is here
   31 |   TemplateStorage& template_storage;
      |                    ^~~~~~~~~~~~~~~~
In file included from /home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:14:
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp: In constructor ‘inja::Renderer::Renderer(const inja::RenderConfig&, const inja::TemplateStorage&, const inja::FunctionStorage&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:104: error: declaration of ‘function_storage’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |                                                                                 ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:26:26: note: shadowed declaration is here
   26 |   const FunctionStorage& function_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:63: error: declaration of ‘template_storage’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |                                        ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:25:26: note: shadowed declaration is here
   25 |   const TemplateStorage& template_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:32: error: declaration of ‘config’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |            ~~~~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:24:22: note: shadowed declaration is here
   24 |   const RenderConfig config;
      |                      ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp: In constructor ‘inja::Renderer::Renderer(const inja::RenderConfig&, const inja::TemplateStorage&, const inja::FunctionStorage&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:104: error: declaration of ‘function_storage’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |                                                                                 ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:26:26: note: shadowed declaration is here
   26 |   const FunctionStorage& function_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:63: error: declaration of ‘template_storage’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |                                        ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:25:26: note: shadowed declaration is here
   25 |   const TemplateStorage& template_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:32: error: declaration of ‘config’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |            ~~~~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:24:22: note: shadowed declaration is here
   24 |   const RenderConfig config;
      |                      ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp: In constructor ‘inja::Renderer::Renderer(const inja::RenderConfig&, const inja::TemplateStorage&, const inja::FunctionStorage&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:104: error: declaration of ‘function_storage’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |                                                                                 ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:26:26: note: shadowed declaration is here
   26 |   const FunctionStorage& function_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:63: error: declaration of ‘template_storage’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |                                        ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:25:26: note: shadowed declaration is here
   25 |   const TemplateStorage& template_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:32: error: declaration of ‘config’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |            ~~~~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:24:22: note: shadowed declaration is here
   24 |   const RenderConfig config;
      |                      ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp: In constructor ‘inja::Environment::Environment(const std::string&, const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:40:65: error: declaration of ‘output_path’ shadows a member of ‘inja::Environment’ [-Werror=shadow]
   40 |   Environment(const std::string& input_path, const std::string& output_path): input_path(input_path), output_path(output_path) {}
      |                                              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:33:15: note: shadowed declaration is here
   33 |   std::string output_path;
      |               ^~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:40:34: error: declaration of ‘input_path’ shadows a member of ‘inja::Environment’ [-Werror=shadow]
   40 |   Environment(const std::string& input_path, const std::string& output_path): input_path(input_path), output_path(output_path) {}
      |               ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:32:15: note: shadowed declaration is here
   32 |   std::string input_path;
      |               ^~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp: In constructor ‘inja::Environment::Environment(const std::string&, const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:40:65: error: declaration of ‘output_path’ shadows a member of ‘inja::Environment’ [-Werror=shadow]
   40 |   Environment(const std::string& input_path, const std::string& output_path): input_path(input_path), output_path(output_path) {}
      |                                              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:33:15: note: shadowed declaration is here
   33 |   std::string output_path;
      |               ^~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:40:34: error: declaration of ‘input_path’ shadows a member of ‘inja::Environment’ [-Werror=shadow]
   40 |   Environment(const std::string& input_path, const std::string& output_path): input_path(input_path), output_path(output_path) {}
      |               ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:32:15: note: shadowed declaration is here
   32 |   std::string input_path;
      |               ^~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp: In constructor ‘inja::Environment::Environment(const std::string&, const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:40:65: error: declaration of ‘output_path’ shadows a member of ‘inja::Environment’ [-Werror=shadow]
   40 |   Environment(const std::string& input_path, const std::string& output_path): input_path(input_path), output_path(output_path) {}
      |                                              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:33:15: note: shadowed declaration is here
   33 |   std::string output_path;
      |               ^~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:40:34: error: declaration of ‘input_path’ shadows a member of ‘inja::Environment’ [-Werror=shadow]
   40 |   Environment(const std::string& input_path, const std::string& output_path): input_path(input_path), output_path(output_path) {}
      |               ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:32:15: note: shadowed declaration is here
   32 |   std::string input_path;
      |               ^~~~~~~~~~
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.

@umireon
Copy link
Member

umireon commented Jan 26, 2024

I cannot say that this plugin is ready for building on Fedora 38.

@royshil
Copy link
Contributor Author

royshil commented Jan 26, 2024

@umireon are you able to test again?
if this is possible in docker i can do it too

@umireon
Copy link
Member

umireon commented Jan 26, 2024

Sure, I will try again soon

@umireon
Copy link
Member

umireon commented Jan 26, 2024

[umireon@fedora-from-source obs-ocr]$ .github/scripts/build-linux --skip-deps
   =>   Configuring obs-ocr...
Preset CMake variables:

  ENABLE_FRONTEND_API:BOOL="TRUE"
  ENABLE_QT:BOOL="TRUE"

-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Threads: TRUE  
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Qt version found: 6
-- Found OpenGL: /usr/lib64/libOpenGL.so   
-- Found WrapOpenGL: TRUE  
-- Could NOT find XKB (missing: XKB_LIBRARY XKB_INCLUDE_DIR) (Required is at least version "0.5.0")
-- Found WrapVulkanHeaders: /usr/include  
Config:
 target        = single_include/inja/inja.hpp
 working_dir   = /home/umireon/obs-ocr/vendor/inja
 include_paths = []
Creating amalgamation:
 - processing "inja/inja.hpp"
...done!

Files processed: ['inja/inja.hpp']
Files included: ['inja/inja.hpp', 'inja/environment.hpp', 'inja/config.hpp', 'inja/template.hpp', 'inja/node.hpp', 'inja/function_storage.hpp', 'inja/utils.hpp', 'inja/exceptions.hpp', 'inja/statistics.hpp', 'inja/parser.hpp', 'inja/lexer.hpp', 'inja/token.hpp', 'inja/renderer.hpp']

-- Configuring done (3.3s)
-- Generating done (0.0s)
-- Build files have been written to: /home/umireon/obs-ocr/build_x86_64
   =>   Building obs-ocr...
[9/10] Building CXX object CMakeFiles/obs-ocr.dir/src/tesseract-ocr-utils.cpp.o
FAILED: CMakeFiles/obs-ocr.dir/src/tesseract-ocr-utils.cpp.o 
/usr/bin/c++ -DHAVE_OBSCONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DSIMDE_ENABLE_OPENMP -Dobs_ocr_EXPORTS -I/home/umireon/obs-ocr/build_x86_64 -I/home/umireon/obs-ocr -I/home/umireon/obs-ocr/build_x86_64/obs-ocr_autogen/include -I/home/umireon/obs-ocr/vendor/inja/include -I/home/umireon/obs-ocr/vendor/inja/third_party/include -I/home/umireon/obs-ocr/src -isystem /usr/include/obs -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtWidgets -isystem /usr/include/qt6/QtGui -isystem /home/umireon/obs-ocr/build_x86_64/_deps/opencv-src/include/opencv4 -isystem /home/umireon/obs-ocr/build_x86_64/_deps/tesseract-src/include -O2 -g -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -fopenmp-simd -fno-strict-aliasing -Wdeprecated-declarations -Wempty-body -Wenum-conversion -Werror=return-type -Wextra -Wformat -Wformat-security -Wno-conversion -Wno-float-conversion -Wno-implicit-fallthrough -Wno-missing-braces -Wno-missing-field-initializers -Wno-shadow -Wno-sign-conversion -Wno-trigraphs -Wno-unknown-pragmas -Wno-unused-function -Wno-unused-label -Wparentheses -Wshadow -Wuninitialized -Wunreachable-code -Wunused-parameter -Wunused-value -Wunused-variable -Wvla -Wconversion -Wfloat-conversion -Winvalid-offsetof -Wno-overloaded-virtual -Wno-error=maybe-uninitialized -Winfinite-recursion -mmmx -msse -msse2 -Werror -MD -MT CMakeFiles/obs-ocr.dir/src/tesseract-ocr-utils.cpp.o -MF CMakeFiles/obs-ocr.dir/src/tesseract-ocr-utils.cpp.o.d -o CMakeFiles/obs-ocr.dir/src/tesseract-ocr-utils.cpp.o -c /home/umireon/obs-ocr/src/tesseract-ocr-utils.cpp
In file included from /home/umireon/obs-ocr/vendor/inja/include/inja/utils.hpp:10,
                 from /home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:9,
                 from /home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp:9,
                 from /home/umireon/obs-ocr/vendor/inja/include/inja/config.hpp:7,
                 from /home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:11,
                 from /home/umireon/obs-ocr/vendor/inja/include/inja/inja.hpp:54,
                 from /home/umireon/obs-ocr/src/tesseract-ocr-utils.cpp:12:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::InjaError::InjaError(const std::string&, const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:20:66: error: declaration of ‘message’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   20 |   explicit InjaError(const std::string& type, const std::string& message)
      |                                               ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:20:41: error: declaration of ‘type’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   20 |   explicit InjaError(const std::string& type, const std::string& message)
      |                      ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:15:21: note: shadowed declaration is here
   15 |   const std::string type;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::InjaError::InjaError(const std::string&, const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:20:66: error: declaration of ‘message’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   20 |   explicit InjaError(const std::string& type, const std::string& message)
      |                                               ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:20:41: error: declaration of ‘type’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   20 |   explicit InjaError(const std::string& type, const std::string& message)
      |                      ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:15:21: note: shadowed declaration is here
   15 |   const std::string type;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::InjaError::InjaError(const std::string&, const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:20:66: error: declaration of ‘message’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   20 |   explicit InjaError(const std::string& type, const std::string& message)
      |                                               ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:20:41: error: declaration of ‘type’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   20 |   explicit InjaError(const std::string& type, const std::string& message)
      |                      ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:15:21: note: shadowed declaration is here
   15 |   const std::string type;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::InjaError::InjaError(const std::string&, const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:90: error: declaration of ‘location’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                                                                           ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:66: error: declaration of ‘message’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                                               ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:41: error: declaration of ‘type’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                      ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:15:21: note: shadowed declaration is here
   15 |   const std::string type;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::InjaError::InjaError(const std::string&, const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:90: error: declaration of ‘location’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                                                                           ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:66: error: declaration of ‘message’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                                               ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:41: error: declaration of ‘type’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                      ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:15:21: note: shadowed declaration is here
   15 |   const std::string type;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::InjaError::InjaError(const std::string&, const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:90: error: declaration of ‘location’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                                                                           ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:66: error: declaration of ‘message’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                                               ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:23:41: error: declaration of ‘type’ shadows a member of ‘inja::InjaError’ [-Werror=shadow]
   23 |   explicit InjaError(const std::string& type, const std::string& message, SourceLocation location)
      |                      ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:15:21: note: shadowed declaration is here
   15 |   const std::string type;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::ParserError::ParserError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:29:67: error: declaration of ‘location’ shadows a member of ‘inja::ParserError’ [-Werror=shadow]
   29 |   explicit ParserError(const std::string& message, SourceLocation location): InjaError("parser_error", message, location) {}
      |                                                    ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:29:43: error: declaration of ‘message’ shadows a member of ‘inja::ParserError’ [-Werror=shadow]
   29 |   explicit ParserError(const std::string& message, SourceLocation location): InjaError("parser_error", message, location) {}
      |                        ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::ParserError::ParserError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:29:67: error: declaration of ‘location’ shadows a member of ‘inja::ParserError’ [-Werror=shadow]
   29 |   explicit ParserError(const std::string& message, SourceLocation location): InjaError("parser_error", message, location) {}
      |                                                    ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:29:43: error: declaration of ‘message’ shadows a member of ‘inja::ParserError’ [-Werror=shadow]
   29 |   explicit ParserError(const std::string& message, SourceLocation location): InjaError("parser_error", message, location) {}
      |                        ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::ParserError::ParserError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:29:67: error: declaration of ‘location’ shadows a member of ‘inja::ParserError’ [-Werror=shadow]
   29 |   explicit ParserError(const std::string& message, SourceLocation location): InjaError("parser_error", message, location) {}
      |                                                    ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:29:43: error: declaration of ‘message’ shadows a member of ‘inja::ParserError’ [-Werror=shadow]
   29 |   explicit ParserError(const std::string& message, SourceLocation location): InjaError("parser_error", message, location) {}
      |                        ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::RenderError::RenderError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:33:67: error: declaration of ‘location’ shadows a member of ‘inja::RenderError’ [-Werror=shadow]
   33 |   explicit RenderError(const std::string& message, SourceLocation location): InjaError("render_error", message, location) {}
      |                                                    ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:33:43: error: declaration of ‘message’ shadows a member of ‘inja::RenderError’ [-Werror=shadow]
   33 |   explicit RenderError(const std::string& message, SourceLocation location): InjaError("render_error", message, location) {}
      |                        ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::RenderError::RenderError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:33:67: error: declaration of ‘location’ shadows a member of ‘inja::RenderError’ [-Werror=shadow]
   33 |   explicit RenderError(const std::string& message, SourceLocation location): InjaError("render_error", message, location) {}
      |                                                    ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:33:43: error: declaration of ‘message’ shadows a member of ‘inja::RenderError’ [-Werror=shadow]
   33 |   explicit RenderError(const std::string& message, SourceLocation location): InjaError("render_error", message, location) {}
      |                        ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::RenderError::RenderError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:33:67: error: declaration of ‘location’ shadows a member of ‘inja::RenderError’ [-Werror=shadow]
   33 |   explicit RenderError(const std::string& message, SourceLocation location): InjaError("render_error", message, location) {}
      |                                                    ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:33:43: error: declaration of ‘message’ shadows a member of ‘inja::RenderError’ [-Werror=shadow]
   33 |   explicit RenderError(const std::string& message, SourceLocation location): InjaError("render_error", message, location) {}
      |                        ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::FileError::FileError(const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:37:41: error: declaration of ‘message’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   37 |   explicit FileError(const std::string& message): InjaError("file_error", message) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::FileError::FileError(const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:37:41: error: declaration of ‘message’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   37 |   explicit FileError(const std::string& message): InjaError("file_error", message) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::FileError::FileError(const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:37:41: error: declaration of ‘message’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   37 |   explicit FileError(const std::string& message): InjaError("file_error", message) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::FileError::FileError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:38:65: error: declaration of ‘location’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   38 |   explicit FileError(const std::string& message, SourceLocation location): InjaError("file_error", message, location) {}
      |                                                  ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:38:41: error: declaration of ‘message’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   38 |   explicit FileError(const std::string& message, SourceLocation location): InjaError("file_error", message, location) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::FileError::FileError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:38:65: error: declaration of ‘location’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   38 |   explicit FileError(const std::string& message, SourceLocation location): InjaError("file_error", message, location) {}
      |                                                  ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:38:41: error: declaration of ‘message’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   38 |   explicit FileError(const std::string& message, SourceLocation location): InjaError("file_error", message, location) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::FileError::FileError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:38:65: error: declaration of ‘location’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   38 |   explicit FileError(const std::string& message, SourceLocation location): InjaError("file_error", message, location) {}
      |                                                  ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:38:41: error: declaration of ‘message’ shadows a member of ‘inja::FileError’ [-Werror=shadow]
   38 |   explicit FileError(const std::string& message, SourceLocation location): InjaError("file_error", message, location) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::DataError::DataError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:42:65: error: declaration of ‘location’ shadows a member of ‘inja::DataError’ [-Werror=shadow]
   42 |   explicit DataError(const std::string& message, SourceLocation location): InjaError("data_error", message, location) {}
      |                                                  ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:42:41: error: declaration of ‘message’ shadows a member of ‘inja::DataError’ [-Werror=shadow]
   42 |   explicit DataError(const std::string& message, SourceLocation location): InjaError("data_error", message, location) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::DataError::DataError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:42:65: error: declaration of ‘location’ shadows a member of ‘inja::DataError’ [-Werror=shadow]
   42 |   explicit DataError(const std::string& message, SourceLocation location): InjaError("data_error", message, location) {}
      |                                                  ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:42:41: error: declaration of ‘message’ shadows a member of ‘inja::DataError’ [-Werror=shadow]
   42 |   explicit DataError(const std::string& message, SourceLocation location): InjaError("data_error", message, location) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp: In constructor ‘inja::DataError::DataError(const std::string&, inja::SourceLocation)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:42:65: error: declaration of ‘location’ shadows a member of ‘inja::DataError’ [-Werror=shadow]
   42 |   explicit DataError(const std::string& message, SourceLocation location): InjaError("data_error", message, location) {}
      |                                                  ~~~~~~~~~~~~~~~^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:18:24: note: shadowed declaration is here
   18 |   const SourceLocation location;
      |                        ^~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:42:41: error: declaration of ‘message’ shadows a member of ‘inja::DataError’ [-Werror=shadow]
   42 |   explicit DataError(const std::string& message, SourceLocation location): InjaError("data_error", message, location) {}
      |                      ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/exceptions.hpp:16:21: note: shadowed declaration is here
   16 |   const std::string message;
      |                     ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::AstNode::AstNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:62:18: error: declaration of ‘pos’ shadows a member of ‘inja::AstNode’ [-Werror=shadow]
   62 |   AstNode(size_t pos): pos(pos) {}
      |           ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::AstNode::AstNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:62:18: error: declaration of ‘pos’ shadows a member of ‘inja::AstNode’ [-Werror=shadow]
   62 |   AstNode(size_t pos): pos(pos) {}
      |           ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::AstNode::AstNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:62:18: error: declaration of ‘pos’ shadows a member of ‘inja::AstNode’ [-Werror=shadow]
   62 |   AstNode(size_t pos): pos(pos) {}
      |           ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::TextNode::TextNode(size_t, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:81:40: error: declaration of ‘length’ shadows a member of ‘inja::TextNode’ [-Werror=shadow]
   81 |   explicit TextNode(size_t pos, size_t length): AstNode(pos), length(length) {}
      |                                 ~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:79:16: note: shadowed declaration is here
   79 |   const size_t length;
      |                ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:81:28: error: declaration of ‘pos’ shadows a member of ‘inja::TextNode’ [-Werror=shadow]
   81 |   explicit TextNode(size_t pos, size_t length): AstNode(pos), length(length) {}
      |                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::TextNode::TextNode(size_t, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:81:40: error: declaration of ‘length’ shadows a member of ‘inja::TextNode’ [-Werror=shadow]
   81 |   explicit TextNode(size_t pos, size_t length): AstNode(pos), length(length) {}
      |                                 ~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:79:16: note: shadowed declaration is here
   79 |   const size_t length;
      |                ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:81:28: error: declaration of ‘pos’ shadows a member of ‘inja::TextNode’ [-Werror=shadow]
   81 |   explicit TextNode(size_t pos, size_t length): AstNode(pos), length(length) {}
      |                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::TextNode::TextNode(size_t, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:81:40: error: declaration of ‘length’ shadows a member of ‘inja::TextNode’ [-Werror=shadow]
   81 |   explicit TextNode(size_t pos, size_t length): AstNode(pos), length(length) {}
      |                                 ~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:79:16: note: shadowed declaration is here
   79 |   const size_t length;
      |                ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:81:28: error: declaration of ‘pos’ shadows a member of ‘inja::TextNode’ [-Werror=shadow]
   81 |   explicit TextNode(size_t pos, size_t length): AstNode(pos), length(length) {}
      |                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExpressionNode::ExpressionNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:90:34: error: declaration of ‘pos’ shadows a member of ‘inja::ExpressionNode’ [-Werror=shadow]
   90 |   explicit ExpressionNode(size_t pos): AstNode(pos) {}
      |                           ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExpressionNode::ExpressionNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:90:34: error: declaration of ‘pos’ shadows a member of ‘inja::ExpressionNode’ [-Werror=shadow]
   90 |   explicit ExpressionNode(size_t pos): AstNode(pos) {}
      |                           ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExpressionNode::ExpressionNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:90:34: error: declaration of ‘pos’ shadows a member of ‘inja::ExpressionNode’ [-Werror=shadow]
   90 |   explicit ExpressionNode(size_t pos): AstNode(pos) {}
      |                           ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::LiteralNode::LiteralNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:101:59: error: declaration of ‘pos’ shadows a member of ‘inja::LiteralNode’ [-Werror=shadow]
  101 |   explicit LiteralNode(std::string_view data_text, size_t pos): ExpressionNode(pos), value(json::parse(data_text)) {}
      |                                                    ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::LiteralNode::LiteralNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:101:59: error: declaration of ‘pos’ shadows a member of ‘inja::LiteralNode’ [-Werror=shadow]
  101 |   explicit LiteralNode(std::string_view data_text, size_t pos): ExpressionNode(pos), value(json::parse(data_text)) {}
      |                                                    ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::LiteralNode::LiteralNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:101:59: error: declaration of ‘pos’ shadows a member of ‘inja::LiteralNode’ [-Werror=shadow]
  101 |   explicit LiteralNode(std::string_view data_text, size_t pos): ExpressionNode(pos), value(json::parse(data_text)) {}
      |                                                    ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::DataNode::DataNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:124:55: error: declaration of ‘pos’ shadows a member of ‘inja::DataNode’ [-Werror=shadow]
  124 |   explicit DataNode(std::string_view ptr_name, size_t pos): ExpressionNode(pos), name(ptr_name), ptr(json::json_pointer(convert_dot_to_ptr(ptr_name))) {}
      |                                                ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::DataNode::DataNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:124:55: error: declaration of ‘pos’ shadows a member of ‘inja::DataNode’ [-Werror=shadow]
  124 |   explicit DataNode(std::string_view ptr_name, size_t pos): ExpressionNode(pos), name(ptr_name), ptr(json::json_pointer(convert_dot_to_ptr(ptr_name))) {}
      |                                                ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::DataNode::DataNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:124:55: error: declaration of ‘pos’ shadows a member of ‘inja::DataNode’ [-Werror=shadow]
  124 |   explicit DataNode(std::string_view ptr_name, size_t pos): ExpressionNode(pos), name(ptr_name), ptr(json::json_pointer(convert_dot_to_ptr(ptr_name))) {}
      |                                                ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::FunctionNode::FunctionNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:150:55: error: declaration of ‘pos’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  150 |   explicit FunctionNode(std::string_view name, size_t pos)
      |                                                ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:150:42: error: declaration of ‘name’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  150 |   explicit FunctionNode(std::string_view name, size_t pos)
      |                         ~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:145:15: note: shadowed declaration is here
  145 |   std::string name;
      |               ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::FunctionNode::FunctionNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:150:55: error: declaration of ‘pos’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  150 |   explicit FunctionNode(std::string_view name, size_t pos)
      |                                                ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:150:42: error: declaration of ‘name’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  150 |   explicit FunctionNode(std::string_view name, size_t pos)
      |                         ~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:145:15: note: shadowed declaration is here
  145 |   std::string name;
      |               ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::FunctionNode::FunctionNode(std::string_view, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:150:55: error: declaration of ‘pos’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  150 |   explicit FunctionNode(std::string_view name, size_t pos)
      |                                                ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:150:42: error: declaration of ‘name’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  150 |   explicit FunctionNode(std::string_view name, size_t pos)
      |                         ~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:145:15: note: shadowed declaration is here
  145 |   std::string name;
      |               ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::FunctionNode::FunctionNode(Op, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:152:46: error: declaration of ‘pos’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  152 |   explicit FunctionNode(Op operation, size_t pos): ExpressionNode(pos), operation(operation), number_args(1) {
      |                                       ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:152:28: error: declaration of ‘operation’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  152 |   explicit FunctionNode(Op operation, size_t pos): ExpressionNode(pos), operation(operation), number_args(1) {
      |                         ~~~^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:143:6: note: shadowed declaration is here
  143 |   Op operation;
      |      ^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::FunctionNode::FunctionNode(Op, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:152:46: error: declaration of ‘pos’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  152 |   explicit FunctionNode(Op operation, size_t pos): ExpressionNode(pos), operation(operation), number_args(1) {
      |                                       ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:152:28: error: declaration of ‘operation’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  152 |   explicit FunctionNode(Op operation, size_t pos): ExpressionNode(pos), operation(operation), number_args(1) {
      |                         ~~~^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:143:6: note: shadowed declaration is here
  143 |   Op operation;
      |      ^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::FunctionNode::FunctionNode(Op, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:152:46: error: declaration of ‘pos’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  152 |   explicit FunctionNode(Op operation, size_t pos): ExpressionNode(pos), operation(operation), number_args(1) {
      |                                       ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:152:28: error: declaration of ‘operation’ shadows a member of ‘inja::FunctionNode’ [-Werror=shadow]
  152 |   explicit FunctionNode(Op operation, size_t pos): ExpressionNode(pos), operation(operation), number_args(1) {
      |                         ~~~^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:143:6: note: shadowed declaration is here
  143 |   Op operation;
      |      ^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExpressionListNode::ExpressionListNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:256:38: error: declaration of ‘pos’ shadows a member of ‘inja::ExpressionListNode’ [-Werror=shadow]
  256 |   explicit ExpressionListNode(size_t pos): AstNode(pos) {}
      |                               ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExpressionListNode::ExpressionListNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:256:38: error: declaration of ‘pos’ shadows a member of ‘inja::ExpressionListNode’ [-Werror=shadow]
  256 |   explicit ExpressionListNode(size_t pos): AstNode(pos) {}
      |                               ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExpressionListNode::ExpressionListNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:256:38: error: declaration of ‘pos’ shadows a member of ‘inja::ExpressionListNode’ [-Werror=shadow]
  256 |   explicit ExpressionListNode(size_t pos): AstNode(pos) {}
      |                               ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::StatementNode::StatementNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:265:24: error: declaration of ‘pos’ shadows a member of ‘inja::StatementNode’ [-Werror=shadow]
  265 |   StatementNode(size_t pos): AstNode(pos) {}
      |                 ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::StatementNode::StatementNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:265:24: error: declaration of ‘pos’ shadows a member of ‘inja::StatementNode’ [-Werror=shadow]
  265 |   StatementNode(size_t pos): AstNode(pos) {}
      |                 ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::StatementNode::StatementNode(size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:265:24: error: declaration of ‘pos’ shadows a member of ‘inja::StatementNode’ [-Werror=shadow]
  265 |   StatementNode(size_t pos): AstNode(pos) {}
      |                 ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForStatementNode::ForStatementNode(inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:276:52: error: declaration of ‘pos’ shadows a member of ‘inja::ForStatementNode’ [-Werror=shadow]
  276 |   ForStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent) {}
      |                                             ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:276:37: error: declaration of ‘parent’ shadows a member of ‘inja::ForStatementNode’ [-Werror=shadow]
  276 |   ForStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent) {}
      |                    ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForStatementNode::ForStatementNode(inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:276:52: error: declaration of ‘pos’ shadows a member of ‘inja::ForStatementNode’ [-Werror=shadow]
  276 |   ForStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent) {}
      |                                             ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:276:37: error: declaration of ‘parent’ shadows a member of ‘inja::ForStatementNode’ [-Werror=shadow]
  276 |   ForStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent) {}
      |                    ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForStatementNode::ForStatementNode(inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:276:52: error: declaration of ‘pos’ shadows a member of ‘inja::ForStatementNode’ [-Werror=shadow]
  276 |   ForStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent) {}
      |                                             ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:276:37: error: declaration of ‘parent’ shadows a member of ‘inja::ForStatementNode’ [-Werror=shadow]
  276 |   ForStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent) {}
      |                    ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForArrayStatementNode::ForArrayStatementNode(const std::string&, inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:92: error: declaration of ‘pos’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:77: error: declaration of ‘parent’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:53: error: declaration of ‘value’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                  ~~~~~~~~~~~~~~~~~~~^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:283:21: note: shadowed declaration is here
  283 |   const std::string value;
      |                     ^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForArrayStatementNode::ForArrayStatementNode(const std::string&, inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:92: error: declaration of ‘pos’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:77: error: declaration of ‘parent’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:53: error: declaration of ‘value’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                  ~~~~~~~~~~~~~~~~~~~^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:283:21: note: shadowed declaration is here
  283 |   const std::string value;
      |                     ^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForArrayStatementNode::ForArrayStatementNode(const std::string&, inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:92: error: declaration of ‘pos’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:77: error: declaration of ‘parent’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:285:53: error: declaration of ‘value’ shadows a member of ‘inja::ForArrayStatementNode’ [-Werror=shadow]
  285 |   explicit ForArrayStatementNode(const std::string& value, BlockNode* const parent, size_t pos): ForStatementNode(parent, pos), value(value) {}
      |                                  ~~~~~~~~~~~~~~~~~~~^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:283:21: note: shadowed declaration is here
  283 |   const std::string value;
      |                     ^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForObjectStatementNode::ForObjectStatementNode(const std::string&, const std::string&, inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:117: error: declaration of ‘pos’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                                                                              ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:102: error: declaration of ‘parent’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                                                     ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:78: error: declaration of ‘value’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                           ~~~~~~~~~~~~~~~~~~~^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:295:21: note: shadowed declaration is here
  295 |   const std::string value;
      |                     ^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:54: error: declaration of ‘key’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                   ~~~~~~~~~~~~~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:294:21: note: shadowed declaration is here
  294 |   const std::string key;
      |                     ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForObjectStatementNode::ForObjectStatementNode(const std::string&, const std::string&, inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:117: error: declaration of ‘pos’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                                                                              ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:102: error: declaration of ‘parent’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                                                     ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:78: error: declaration of ‘value’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                           ~~~~~~~~~~~~~~~~~~~^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:295:21: note: shadowed declaration is here
  295 |   const std::string value;
      |                     ^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:54: error: declaration of ‘key’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                   ~~~~~~~~~~~~~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:294:21: note: shadowed declaration is here
  294 |   const std::string key;
      |                     ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ForObjectStatementNode::ForObjectStatementNode(const std::string&, const std::string&, inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:117: error: declaration of ‘pos’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                                                                              ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:102: error: declaration of ‘parent’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                                                     ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:274:20: note: shadowed declaration is here
  274 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:78: error: declaration of ‘value’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                                           ~~~~~~~~~~~~~~~~~~~^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:295:21: note: shadowed declaration is here
  295 |   const std::string value;
      |                     ^~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:297:54: error: declaration of ‘key’ shadows a member of ‘inja::ForObjectStatementNode’ [-Werror=shadow]
  297 |   explicit ForObjectStatementNode(const std::string& key, const std::string& value, BlockNode* const parent, size_t pos)
      |                                   ~~~~~~~~~~~~~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:294:21: note: shadowed declaration is here
  294 |   const std::string key;
      |                     ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IfStatementNode::IfStatementNode(inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:315:60: error: declaration of ‘pos’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  315 |   explicit IfStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(false) {}
      |                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:315:45: error: declaration of ‘parent’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  315 |   explicit IfStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(false) {}
      |                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:310:20: note: shadowed declaration is here
  310 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IfStatementNode::IfStatementNode(inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:315:60: error: declaration of ‘pos’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  315 |   explicit IfStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(false) {}
      |                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:315:45: error: declaration of ‘parent’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  315 |   explicit IfStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(false) {}
      |                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:310:20: note: shadowed declaration is here
  310 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IfStatementNode::IfStatementNode(inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:315:60: error: declaration of ‘pos’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  315 |   explicit IfStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(false) {}
      |                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:315:45: error: declaration of ‘parent’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  315 |   explicit IfStatementNode(BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(false) {}
      |                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:310:20: note: shadowed declaration is here
  310 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IfStatementNode::IfStatementNode(bool, inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:76: error: declaration of ‘pos’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:61: error: declaration of ‘parent’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:310:20: note: shadowed declaration is here
  310 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:33: error: declaration of ‘is_nested’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                            ~~~~~^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:312:14: note: shadowed declaration is here
  312 |   const bool is_nested;
      |              ^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IfStatementNode::IfStatementNode(bool, inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:76: error: declaration of ‘pos’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:61: error: declaration of ‘parent’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:310:20: note: shadowed declaration is here
  310 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:33: error: declaration of ‘is_nested’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                            ~~~~~^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:312:14: note: shadowed declaration is here
  312 |   const bool is_nested;
      |              ^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IfStatementNode::IfStatementNode(bool, inja::BlockNode*, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:76: error: declaration of ‘pos’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:61: error: declaration of ‘parent’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                                            ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:310:20: note: shadowed declaration is here
  310 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:316:33: error: declaration of ‘is_nested’ shadows a member of ‘inja::IfStatementNode’ [-Werror=shadow]
  316 |   explicit IfStatementNode(bool is_nested, BlockNode* const parent, size_t pos): StatementNode(pos), parent(parent), is_nested(is_nested) {}
      |                            ~~~~~^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:312:14: note: shadowed declaration is here
  312 |   const bool is_nested;
      |              ^~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IncludeStatementNode::IncludeStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:327:65: error: declaration of ‘pos’ shadows a member of ‘inja::IncludeStatementNode’ [-Werror=shadow]
  327 |   explicit IncludeStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                                          ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:327:52: error: declaration of ‘file’ shadows a member of ‘inja::IncludeStatementNode’ [-Werror=shadow]
  327 |   explicit IncludeStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                 ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:325:21: note: shadowed declaration is here
  325 |   const std::string file;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IncludeStatementNode::IncludeStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:327:65: error: declaration of ‘pos’ shadows a member of ‘inja::IncludeStatementNode’ [-Werror=shadow]
  327 |   explicit IncludeStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                                          ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:327:52: error: declaration of ‘file’ shadows a member of ‘inja::IncludeStatementNode’ [-Werror=shadow]
  327 |   explicit IncludeStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                 ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:325:21: note: shadowed declaration is here
  325 |   const std::string file;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::IncludeStatementNode::IncludeStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:327:65: error: declaration of ‘pos’ shadows a member of ‘inja::IncludeStatementNode’ [-Werror=shadow]
  327 |   explicit IncludeStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                                          ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:327:52: error: declaration of ‘file’ shadows a member of ‘inja::IncludeStatementNode’ [-Werror=shadow]
  327 |   explicit IncludeStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                 ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:325:21: note: shadowed declaration is here
  325 |   const std::string file;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExtendsStatementNode::ExtendsStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:338:65: error: declaration of ‘pos’ shadows a member of ‘inja::ExtendsStatementNode’ [-Werror=shadow]
  338 |   explicit ExtendsStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                                          ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:338:52: error: declaration of ‘file’ shadows a member of ‘inja::ExtendsStatementNode’ [-Werror=shadow]
  338 |   explicit ExtendsStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                 ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:336:21: note: shadowed declaration is here
  336 |   const std::string file;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExtendsStatementNode::ExtendsStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:338:65: error: declaration of ‘pos’ shadows a member of ‘inja::ExtendsStatementNode’ [-Werror=shadow]
  338 |   explicit ExtendsStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                                          ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:338:52: error: declaration of ‘file’ shadows a member of ‘inja::ExtendsStatementNode’ [-Werror=shadow]
  338 |   explicit ExtendsStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                 ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:336:21: note: shadowed declaration is here
  336 |   const std::string file;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::ExtendsStatementNode::ExtendsStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:338:65: error: declaration of ‘pos’ shadows a member of ‘inja::ExtendsStatementNode’ [-Werror=shadow]
  338 |   explicit ExtendsStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                                          ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:338:52: error: declaration of ‘file’ shadows a member of ‘inja::ExtendsStatementNode’ [-Werror=shadow]
  338 |   explicit ExtendsStatementNode(const std::string& file, size_t pos): StatementNode(pos), file(file) {}
      |                                 ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:336:21: note: shadowed declaration is here
  336 |   const std::string file;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::BlockStatementNode::BlockStatementNode(inja::BlockNode*, const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:88: error: declaration of ‘pos’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                                                                                 ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:75: error: declaration of ‘name’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                                                        ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:347:21: note: shadowed declaration is here
  347 |   const std::string name;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:48: error: declaration of ‘parent’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                               ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:349:20: note: shadowed declaration is here
  349 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::BlockStatementNode::BlockStatementNode(inja::BlockNode*, const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:88: error: declaration of ‘pos’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                                                                                 ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:75: error: declaration of ‘name’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                                                        ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:347:21: note: shadowed declaration is here
  347 |   const std::string name;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:48: error: declaration of ‘parent’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                               ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:349:20: note: shadowed declaration is here
  349 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::BlockStatementNode::BlockStatementNode(inja::BlockNode*, const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:88: error: declaration of ‘pos’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                                                                                 ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:75: error: declaration of ‘name’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                                                        ~~~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:347:21: note: shadowed declaration is here
  347 |   const std::string name;
      |                     ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:351:48: error: declaration of ‘parent’ shadows a member of ‘inja::BlockStatementNode’ [-Werror=shadow]
  351 |   explicit BlockStatementNode(BlockNode* const parent, const std::string& name, size_t pos): StatementNode(pos), name(name), parent(parent) {}
      |                               ~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:349:20: note: shadowed declaration is here
  349 |   BlockNode* const parent;
      |                    ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::SetStatementNode::SetStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:363:60: error: declaration of ‘pos’ shadows a member of ‘inja::SetStatementNode’ [-Werror=shadow]
  363 |   explicit SetStatementNode(const std::string& key, size_t pos): StatementNode(pos), key(key) {}
      |                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:363:48: error: declaration of ‘key’ shadows a member of ‘inja::SetStatementNode’ [-Werror=shadow]
  363 |   explicit SetStatementNode(const std::string& key, size_t pos): StatementNode(pos), key(key) {}
      |                             ~~~~~~~~~~~~~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:360:21: note: shadowed declaration is here
  360 |   const std::string key;
      |                     ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::SetStatementNode::SetStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:363:60: error: declaration of ‘pos’ shadows a member of ‘inja::SetStatementNode’ [-Werror=shadow]
  363 |   explicit SetStatementNode(const std::string& key, size_t pos): StatementNode(pos), key(key) {}
      |                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:363:48: error: declaration of ‘key’ shadows a member of ‘inja::SetStatementNode’ [-Werror=shadow]
  363 |   explicit SetStatementNode(const std::string& key, size_t pos): StatementNode(pos), key(key) {}
      |                             ~~~~~~~~~~~~~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:360:21: note: shadowed declaration is here
  360 |   const std::string key;
      |                     ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp: In constructor ‘inja::SetStatementNode::SetStatementNode(const std::string&, size_t)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:363:60: error: declaration of ‘pos’ shadows a member of ‘inja::SetStatementNode’ [-Werror=shadow]
  363 |   explicit SetStatementNode(const std::string& key, size_t pos): StatementNode(pos), key(key) {}
      |                                                     ~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:60:10: note: shadowed declaration is here
   60 |   size_t pos;
      |          ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:363:48: error: declaration of ‘key’ shadows a member of ‘inja::SetStatementNode’ [-Werror=shadow]
  363 |   explicit SetStatementNode(const std::string& key, size_t pos): StatementNode(pos), key(key) {}
      |                             ~~~~~~~~~~~~~~~~~~~^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/node.hpp:360:21: note: shadowed declaration is here
  360 |   const std::string key;
      |                     ^~~
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp: In constructor ‘inja::Template::Template(const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp:23:40: error: declaration of ‘content’ shadows a member of ‘inja::Template’ [-Werror=shadow]
   23 |   explicit Template(const std::string& content): content(content) {}
      |                     ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp:19:15: note: shadowed declaration is here
   19 |   std::string content;
      |               ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp: In constructor ‘inja::Template::Template(const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp:23:40: error: declaration of ‘content’ shadows a member of ‘inja::Template’ [-Werror=shadow]
   23 |   explicit Template(const std::string& content): content(content) {}
      |                     ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp:19:15: note: shadowed declaration is here
   19 |   std::string content;
      |               ^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp: In constructor ‘inja::Template::Template(const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp:23:40: error: declaration of ‘content’ shadows a member of ‘inja::Template’ [-Werror=shadow]
   23 |   explicit Template(const std::string& content): content(content) {}
      |                     ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/template.hpp:19:15: note: shadowed declaration is here
   19 |   std::string content;
      |               ^~~~~~~
In file included from /home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp:8,
                 from /home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:13,
                 from /home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:13:
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp: In constructor ‘constexpr inja::Token::Token(Kind, std::string_view)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:55:56: error: declaration of ‘text’ shadows a member of ‘inja::Token’ [-Werror=shadow]
   55 |   explicit constexpr Token(Kind kind, std::string_view text): kind(kind), text(text) {}
      |                                       ~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:52:20: note: shadowed declaration is here
   52 |   std::string_view text;
      |                    ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:55:33: error: declaration of ‘kind’ shadows a member of ‘inja::Token’ [-Werror=shadow]
   55 |   explicit constexpr Token(Kind kind, std::string_view text): kind(kind), text(text) {}
      |                            ~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:51:8: note: shadowed declaration is here
   51 |   Kind kind {Kind::Unknown};
      |        ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp: In constructor ‘constexpr inja::Token::Token(Kind, std::string_view)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:55:56: error: declaration of ‘text’ shadows a member of ‘inja::Token’ [-Werror=shadow]
   55 |   explicit constexpr Token(Kind kind, std::string_view text): kind(kind), text(text) {}
      |                                       ~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:52:20: note: shadowed declaration is here
   52 |   std::string_view text;
      |                    ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:55:33: error: declaration of ‘kind’ shadows a member of ‘inja::Token’ [-Werror=shadow]
   55 |   explicit constexpr Token(Kind kind, std::string_view text): kind(kind), text(text) {}
      |                            ~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:51:8: note: shadowed declaration is here
   51 |   Kind kind {Kind::Unknown};
      |        ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp: In constructor ‘constexpr inja::Token::Token(Kind, std::string_view)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:55:56: error: declaration of ‘text’ shadows a member of ‘inja::Token’ [-Werror=shadow]
   55 |   explicit constexpr Token(Kind kind, std::string_view text): kind(kind), text(text) {}
      |                                       ~~~~~~~~~~~~~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:52:20: note: shadowed declaration is here
   52 |   std::string_view text;
      |                    ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:55:33: error: declaration of ‘kind’ shadows a member of ‘inja::Token’ [-Werror=shadow]
   55 |   explicit constexpr Token(Kind kind, std::string_view text): kind(kind), text(text) {}
      |                            ~~~~~^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/token.hpp:51:8: note: shadowed declaration is here
   51 |   Kind kind {Kind::Unknown};
      |        ^~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp: In constructor ‘inja::Lexer::Lexer(const inja::LexerConfig&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp:274:37: error: declaration of ‘config’ shadows a member of ‘inja::Lexer’ [-Werror=shadow]
  274 |   explicit Lexer(const LexerConfig& config): config(config), state(State::Text), minus_state(MinusState::Number) {}
      |                  ~~~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp:38:22: note: shadowed declaration is here
   38 |   const LexerConfig& config;
      |                      ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp: In constructor ‘inja::Lexer::Lexer(const inja::LexerConfig&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp:274:37: error: declaration of ‘config’ shadows a member of ‘inja::Lexer’ [-Werror=shadow]
  274 |   explicit Lexer(const LexerConfig& config): config(config), state(State::Text), minus_state(MinusState::Number) {}
      |                  ~~~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp:38:22: note: shadowed declaration is here
   38 |   const LexerConfig& config;
      |                      ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp: In constructor ‘inja::Lexer::Lexer(const inja::LexerConfig&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp:274:37: error: declaration of ‘config’ shadows a member of ‘inja::Lexer’ [-Werror=shadow]
  274 |   explicit Lexer(const LexerConfig& config): config(config), state(State::Text), minus_state(MinusState::Number) {}
      |                  ~~~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/lexer.hpp:38:22: note: shadowed declaration is here
   38 |   const LexerConfig& config;
      |                      ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp: In constructor ‘inja::Parser::Parser(const inja::ParserConfig&, const inja::LexerConfig&, inja::TemplateStorage&, const inja::FunctionStorage&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:620:42: error: declaration of ‘function_storage’ shadows a member of ‘inja::Parser’ [-Werror=shadow]
  620 |                   const FunctionStorage& function_storage)
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:32:26: note: shadowed declaration is here
   32 |   const FunctionStorage& function_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:619:104: error: declaration of ‘template_storage’ shadows a member of ‘inja::Parser’ [-Werror=shadow]
  619 |   explicit Parser(const ParserConfig& parser_config, const LexerConfig& lexer_config, TemplateStorage& template_storage,
      |                                                                                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:31:20: note: shadowed declaration is here
   31 |   TemplateStorage& template_storage;
      |                    ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp: In constructor ‘inja::Parser::Parser(const inja::ParserConfig&, const inja::LexerConfig&, inja::TemplateStorage&, const inja::FunctionStorage&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:620:42: error: declaration of ‘function_storage’ shadows a member of ‘inja::Parser’ [-Werror=shadow]
  620 |                   const FunctionStorage& function_storage)
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:32:26: note: shadowed declaration is here
   32 |   const FunctionStorage& function_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:619:104: error: declaration of ‘template_storage’ shadows a member of ‘inja::Parser’ [-Werror=shadow]
  619 |   explicit Parser(const ParserConfig& parser_config, const LexerConfig& lexer_config, TemplateStorage& template_storage,
      |                                                                                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:31:20: note: shadowed declaration is here
   31 |   TemplateStorage& template_storage;
      |                    ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp: In constructor ‘inja::Parser::Parser(const inja::ParserConfig&, const inja::LexerConfig&, inja::TemplateStorage&, const inja::FunctionStorage&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:620:42: error: declaration of ‘function_storage’ shadows a member of ‘inja::Parser’ [-Werror=shadow]
  620 |                   const FunctionStorage& function_storage)
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:32:26: note: shadowed declaration is here
   32 |   const FunctionStorage& function_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:619:104: error: declaration of ‘template_storage’ shadows a member of ‘inja::Parser’ [-Werror=shadow]
  619 |   explicit Parser(const ParserConfig& parser_config, const LexerConfig& lexer_config, TemplateStorage& template_storage,
      |                                                                                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/parser.hpp:31:20: note: shadowed declaration is here
   31 |   TemplateStorage& template_storage;
      |                    ^~~~~~~~~~~~~~~~
In file included from /home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:14:
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp: In constructor ‘inja::Renderer::Renderer(const inja::RenderConfig&, const inja::TemplateStorage&, const inja::FunctionStorage&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:104: error: declaration of ‘function_storage’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |                                                                                 ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:26:26: note: shadowed declaration is here
   26 |   const FunctionStorage& function_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:63: error: declaration of ‘template_storage’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |                                        ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:25:26: note: shadowed declaration is here
   25 |   const TemplateStorage& template_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:32: error: declaration of ‘config’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |            ~~~~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:24:22: note: shadowed declaration is here
   24 |   const RenderConfig config;
      |                      ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp: In constructor ‘inja::Renderer::Renderer(const inja::RenderConfig&, const inja::TemplateStorage&, const inja::FunctionStorage&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:104: error: declaration of ‘function_storage’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |                                                                                 ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:26:26: note: shadowed declaration is here
   26 |   const FunctionStorage& function_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:63: error: declaration of ‘template_storage’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |                                        ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:25:26: note: shadowed declaration is here
   25 |   const TemplateStorage& template_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:32: error: declaration of ‘config’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |            ~~~~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:24:22: note: shadowed declaration is here
   24 |   const RenderConfig config;
      |                      ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp: In constructor ‘inja::Renderer::Renderer(const inja::RenderConfig&, const inja::TemplateStorage&, const inja::FunctionStorage&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:104: error: declaration of ‘function_storage’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |                                                                                 ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:26:26: note: shadowed declaration is here
   26 |   const FunctionStorage& function_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:63: error: declaration of ‘template_storage’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |                                        ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:25:26: note: shadowed declaration is here
   25 |   const TemplateStorage& template_storage;
      |                          ^~~~~~~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:612:32: error: declaration of ‘config’ shadows a member of ‘inja::Renderer’ [-Werror=shadow]
  612 |   Renderer(const RenderConfig& config, const TemplateStorage& template_storage, const FunctionStorage& function_storage)
      |            ~~~~~~~~~~~~~~~~~~~~^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/renderer.hpp:24:22: note: shadowed declaration is here
   24 |   const RenderConfig config;
      |                      ^~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp: In constructor ‘inja::Environment::Environment(const std::string&, const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:40:65: error: declaration of ‘output_path’ shadows a member of ‘inja::Environment’ [-Werror=shadow]
   40 |   Environment(const std::string& input_path, const std::string& output_path): input_path(input_path), output_path(output_path) {}
      |                                              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:33:15: note: shadowed declaration is here
   33 |   std::string output_path;
      |               ^~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:40:34: error: declaration of ‘input_path’ shadows a member of ‘inja::Environment’ [-Werror=shadow]
   40 |   Environment(const std::string& input_path, const std::string& output_path): input_path(input_path), output_path(output_path) {}
      |               ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:32:15: note: shadowed declaration is here
   32 |   std::string input_path;
      |               ^~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp: In constructor ‘inja::Environment::Environment(const std::string&, const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:40:65: error: declaration of ‘output_path’ shadows a member of ‘inja::Environment’ [-Werror=shadow]
   40 |   Environment(const std::string& input_path, const std::string& output_path): input_path(input_path), output_path(output_path) {}
      |                                              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:33:15: note: shadowed declaration is here
   33 |   std::string output_path;
      |               ^~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:40:34: error: declaration of ‘input_path’ shadows a member of ‘inja::Environment’ [-Werror=shadow]
   40 |   Environment(const std::string& input_path, const std::string& output_path): input_path(input_path), output_path(output_path) {}
      |               ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:32:15: note: shadowed declaration is here
   32 |   std::string input_path;
      |               ^~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp: In constructor ‘inja::Environment::Environment(const std::string&, const std::string&)’:
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:40:65: error: declaration of ‘output_path’ shadows a member of ‘inja::Environment’ [-Werror=shadow]
   40 |   Environment(const std::string& input_path, const std::string& output_path): input_path(input_path), output_path(output_path) {}
      |                                              ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:33:15: note: shadowed declaration is here
   33 |   std::string output_path;
      |               ^~~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:40:34: error: declaration of ‘input_path’ shadows a member of ‘inja::Environment’ [-Werror=shadow]
   40 |   Environment(const std::string& input_path, const std::string& output_path): input_path(input_path), output_path(output_path) {}
      |               ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/home/umireon/obs-ocr/vendor/inja/include/inja/environment.hpp:32:15: note: shadowed declaration is here
   32 |   std::string input_path;
      |               ^~~~~~~~~~
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
[umireon@fedora-from-source obs-ocr]$ 

@umireon
Copy link
Member

umireon commented Jan 26, 2024

I'm sure the no-error=shadow option was added. I suppose you need to fork or patch inja to suppress this error.

@umireon
Copy link
Member

umireon commented Jan 26, 2024

[umireon@fedora-from-source obs-ocr]$ git log
commit 2b7fa6293166bf071bc19cc989c312b4a4a4afbb (HEAD -> roy.fedora_instructions_build, origin/roy.fedora_instructions_build)
Author: Roy Shilkrot <roy.shil@gmail.com>
Date:   Fri Jan 26 12:36:33 2024 -0500

    Disable conversion errors on Linux

commit addb9233a7a2970884bfe25a057770a6f7cfd217
Author: Roy Shilkrot <roy.shil@gmail.com>
Date:   Fri Jan 26 12:34:42 2024 -0500

    Disable shadowing warnings in inja build

commit 78d1356317f33f7886f8f1c8ef54e87f6b122dd7
Merge: 3f23c34 7f953e2
Author: Roy Shilkrot <roy.shil@gmail.com>
Date:   Fri Jan 26 12:30:30 2024 -0500

    Merge branch 'roy.fedora_instructions_build' of github.com:occ-ai/obs-ocr into roy.fedora_instructions_build

@royshil
Copy link
Contributor Author

royshil commented Jan 29, 2024

@umireon with removing the -Wshadow from the linux compiler flags - i'm able to build this on Fedora docker with the instructions provided

@royshil royshil requested a review from umireon January 29, 2024 15:04
Copy link
Member

@umireon umireon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@royshil royshil merged commit 44a0798 into main Jan 29, 2024
6 checks passed
@royshil royshil deleted the roy.fedora_instructions_build branch January 29, 2024 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants