Severity Code Description Project File Line Suppression State
Error C2440 '=': cannot convert from 'uint8_t' to 'nbt_tag_type_t' schematic C:\Users\wow\source\repos\schematic\schematic\nbt.h 240
Error C2440 '=': cannot convert from 'uint8_t' to 'nbt_tag_type_t' schematic C:\Users\wow\source\repos\schematic\schematic\nbt.h 304
Error C2440 '=': cannot convert from 'void *' to 'nbt_tag_t **' schematic C:\Users\wow\source\repos\schematic\schematic\nbt.h 918
Error C2440 '=': cannot convert from 'void *' to 'nbt_tag_t ' schematic C:\Users\wow\source\repos\schematic\schematic\nbt.h 928
Message Conversion from 'void' to pointer to non-'void' requires an explicit cast schematic C:\Users\wow\source\repos\schematic\schematic\nbt.h 918
Message Conversion from 'void' to pointer to non-'void' requires an explicit cast schematic C:\Users\wow\source\repos\schematic\schematic\nbt.h 928
Message Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) schematic C:\Users\wow\source\repos\schematic\schematic\nbt.h 240
Message Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) schematic C:\Users\wow\source\repos\schematic\schematic\nbt.h 304
i just included the header as such:
#include <stdio.h>
#define NBT_IMPLEMENTATION
#include "nbt.h"
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
MSVC C++
Severity Code Description Project File Line Suppression State
Error C2440 '=': cannot convert from 'uint8_t' to 'nbt_tag_type_t' schematic C:\Users\wow\source\repos\schematic\schematic\nbt.h 240
Error C2440 '=': cannot convert from 'uint8_t' to 'nbt_tag_type_t' schematic C:\Users\wow\source\repos\schematic\schematic\nbt.h 304
Error C2440 '=': cannot convert from 'void *' to 'nbt_tag_t **' schematic C:\Users\wow\source\repos\schematic\schematic\nbt.h 918
Error C2440 '=': cannot convert from 'void *' to 'nbt_tag_t ' schematic C:\Users\wow\source\repos\schematic\schematic\nbt.h 928
Message Conversion from 'void' to pointer to non-'void' requires an explicit cast schematic C:\Users\wow\source\repos\schematic\schematic\nbt.h 918
Message Conversion from 'void' to pointer to non-'void' requires an explicit cast schematic C:\Users\wow\source\repos\schematic\schematic\nbt.h 928
Message Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) schematic C:\Users\wow\source\repos\schematic\schematic\nbt.h 240
Message Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) schematic C:\Users\wow\source\repos\schematic\schematic\nbt.h 304
i just included the header as such:
#include <stdio.h>
#define NBT_IMPLEMENTATION
#include "nbt.h"
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
MSVC C++