Skip to content

Can not build on ArchLinux #4684

Description

@Noxiy

In file included from /home/UserDownloads/Osiris-csgo-end-of-life/Source/InventoryChanger/InventoryChanger.cpp:25:
/home/noxiy/Downloads/Osiris-csgo-end-of-life/Source/../Dependencies/stb_image.h: In function ‘int stbi__parse_png_file(stbi__png*, int, int)’:
/home/noxiy/Downloads/Osiris-csgo-end-of-life/Source/../Dependencies/stb_image.h:5026:56: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
5026 | for (k = 0; k < s->img_n; ++k) tc[k] = (stbi_uc)(stbi__get16be(s) & 255) * stbi__depth_scale_table[z->depth]; // non 8-bit images will be larger
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/noxiy/Downloads/Osiris-csgo-end-of-life/Source/../Dependencies/stb_image.h:4943:25: note: at offset 3 into destination object ‘tc’ of size 3
4943 | stbi_uc has_trans=0, tc[3]={0};
| ^~

/home/User/Downloads/Osiris-csgo-end-of-life/Dependencies/imgui/imgui_widgets.cpp: In function ‘bool ImGui::CollapsingHeader(const char*, bool*, ImGuiTreeNodeFlags)’:
/home/noxiy/Downloads/Osiris-csgo-end-of-life/Dependencies/imgui/imgui_widgets.cpp:5973:54: warning: bitwise operation between different enumeration types ‘ImGuiTreeNodeFlags_’ and ‘ImGuiTreeNodeFlagsPrivate_’ is deprecated [-Wdeprecated-enum-enum-conversion]
5973 | flags |= ImGuiTreeNodeFlags_AllowItemOverlap | ImGuiTreeNodeFlags_ClipLabelForTrailingButton;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions