Skip to content
This repository was archived by the owner on Aug 8, 2024. It is now read-only.

Building project results in compilation error with Xcode 14 beta IDE #19

@JoshChang-TomTom

Description

@JoshChang-TomTom

Apple announced the new Xcode 14 beta IDE.
It causes 3 build errors in dependent Boost lib which uses deprecated sprintf:

Boost/headers/lexical_cast/detail/converter_lexical_streams.hpp
'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.

Extra information:
Boost version used: 1_75_0 (The latest version 1_80_0 has the same issue)

Use Xcode 14 Compiler:

Apple clang version 14.0.0 (clang-1400.0.28.1)

On previous Xcode 13, it worked well.
Xcode 13 Compiler:

Apple clang version 13.1.6 (clang-1316.0.21.2.5)

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