Skip to content
This repository has been 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

Open
JoshChang-TomTom opened this issue Sep 20, 2022 · 1 comment

Comments

@JoshChang-TomTom
Copy link

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)

@JoshChang-TomTom
Copy link
Author

Post the issue onto boostorg/boost#688

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant