Skip to content

mac build provokes warnings #266

Open
@lunarpapillo

Description

@lunarpapillo

A macOS build works correctly, but provokes warnings that look like they could be improved. All of the warnings are instances of one of these three:

% cmake -H. -Bbuild -DFOSSILIZE_VULKAN_LAYER=OFF -DFOSSILIZE_TESTS=OFF -DCMAKE_INSTALL_PREFIX=/Volumes/smb_share/ci-build-resources/mac/fossilize
...
% cmake --build build --target install
...
/Users/lunarg/.jenkins/workspace/update-fossilize/label/Mac/Fossilize/fossilize.cpp:114:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
        sprintf(str, "%016" PRIx64, value);
        ^
... 
/Users/lunarg/.jenkins/workspace/update-fossilize/label/Mac/Fossilize/fossilize.cpp:63:20: warning: unused function 'operator!=' [-Wunused-function]
static inline bool operator!=(const VkShaderModuleIdentifierEXT &a, const VkShaderModuleIdentifierEXT &b)
                   ^
... 
/Users/lunarg/.jenkins/workspace/update-fossilize/label/Mac/Fossilize/path.cpp:147:21: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
                        result.push_back(move(i));
                                         ^
                                         std::

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions