tuxuser360 - 2026-07-02

error log

make
[ 10%] Building CXX object CMakeFiles/fatx_objects.dir/src/context.cpp.o
In file included from /tmp/fatx-code/src/context.hpp:20,
                 from /tmp/fatx-code/src/context.cpp:19:
/tmp/fatx-code/src/types.hpp:31:55: error: vareas was not declared in this scope
   31 | using ptr_vareas                    = std::shared_ptr<vareas>;
      |                                                       ^~~~~~
/tmp/fatx-code/src/types.hpp:31:61: error: template argument 1 is invalid
   31 | using ptr_vareas                    = std::shared_ptr<vareas>;
      |                                                             ^
/tmp/fatx-code/src/types.hpp:31:39: error: expected type-specifier
   31 | using ptr_vareas                    = std::shared_ptr<vareas>;
      |                                       ^~~
/tmp/fatx-code/src/types.hpp:32:55: error: buffer was not declared in this scope; did you mean setbuffer?
   32 | using ptr_buffer                    = std::unique_ptr<buffer>;
      |                                                       ^~~~~~
      |                                                       setbuffer
/tmp/fatx-code/src/types.hpp:32:61: error: template argument 1 is invalid
   32 | using ptr_buffer                    = std::unique_ptr<buffer>;
      |                                                             ^
/tmp/fatx-code/src/types.hpp:32:61: error: template argument 2 is invalid
/tmp/fatx-code/src/types.hpp:32:39: error: expected type-specifier
   32 | using ptr_buffer                    = std::unique_ptr<buffer>;
      |                                       ^~~
/tmp/fatx-code/src/types.hpp:33:55: error: entry was not declared in this scope
   33 | using ptr_entry                     = std::unique_ptr<entry>;
      |                                                       ^~~~~
/tmp/fatx-code/src/types.hpp:33:60: error: template argument 1 is invalid
   33 | using ptr_entry                     = std::unique_ptr<entry>;
      |                                                            ^
/tmp/fatx-code/src/types.hpp:33:60: error: template argument 2 is invalid
/tmp/fatx-code/src/types.hpp:33:39: error: expected type-specifier
   33 | using ptr_entry                     = std::unique_ptr<entry>;
      |                                       ^~~
In file included from /tmp/fatx-code/src/context.hpp:24:
/tmp/fatx-code/src/diskmap.hpp:80:59: error: ptr_vareas has not been declared; did you mean vareas?
   80 |     [[nodiscard]] int                           resizefat(ptr_vareas, clusptr);
      |                                                           ^~~~~~~~~~
      |                                                           vareas
In file included from /tmp/fatx-code/src/context.hpp:25:
/tmp/fatx-code/src/entry.hpp:192:9: error: ptr_buffer does not name a type; did you mean byte_buffer?
  192 |         ptr_buffer                                              entbuf;
      |         ^~~~~~~~~~
      |         byte_buffer
/tmp/fatx-code/src/entry.hpp:207:21: error: ptr_entry was not declared in this scope
  207 |         std::vector<ptr_entry>                  childs;
      |                     ^~~~~~~~~
/tmp/fatx-code/src/entry.hpp:207:30: error: template argument 1 is invalid
  207 |         std::vector<ptr_entry>                  childs;
      |                              ^
/tmp/fatx-code/src/entry.hpp:207:30: error: template argument 2 is invalid
/tmp/fatx-code/src/entry.hpp:208:9: error: ptr_vareas does not name a type; did you mean vareas?
  208 |         ptr_vareas                                              areas;
      |         ^~~~~~~~~~
      |         vareas
make[2]: *** [CMakeFiles/fatx_objects.dir/build.make:79: CMakeFiles/fatx_objects.dir/src/context.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1036: CMakeFiles/fatx_objects.dir/all] Error 2
make: *** [Makefile:146: all] Error 2