boostorg / boostorg/boost

Building project results in compilation error with Xcode 14 beta IDE

Open
#688 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
8.6k
Forks
1.9k
Avg merge
39m
Merged PRs (30d)
2

Description

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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.