Fixed windows clang warnings

This commit is contained in:
Mr-Wiseguy 2024-07-02 22:24:37 -04:00
parent eb981eb47b
commit 1c33a5ff42
2 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,7 @@ namespace RT64 {
struct D3D12Texture;
struct D3D12DescriptorHeapAllocator {
enum {
enum : uint32_t {
INVALID_OFFSET = 0xFFFFFFFFU
};

View File

@ -55,6 +55,7 @@ int main(int argc, const char** argv) {
// Write the C file with the array
{
std::ofstream output_c_file{output_c_path};
output_c_file << "extern const char " << array_name << "[" << contents.size() << "];\n";
output_c_file << "const char " << array_name << "[" << contents.size() << "] = {";
for (char x : contents) {