-
北九大の山崎進と申します. cfg-1.9.6.tar.gz をダウンロードしてビルドしようとしているのですが,失敗します. 環境
% c++ --version
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin22.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
31c31
< for dir in $include_path "/usr/local/include" "/opt/local/include" "/opt/include" "/usr/include" "/mingw/include"
---
> for dir in $include_path "/usr/local/include" "/opt/local/include" "/opt/include" "/usr/include" "/mingw/include" "`brew --prefix boost`/include"
48c48
< for dir in $library_path "/usr/local/lib" "/opt/local/lib" "/opt/lib" "/usr/lib" "/lib" "/mingw/lib"
---
> for dir in $library_path "/usr/local/lib" "/opt/local/lib" "/opt/lib" "/usr/lib" "/lib" "/mingw/lib" "`brew --prefix boost`/lib" その後, すると次のようなエラーとなります. % ./configure
clang: warning: argument unused during compilation: '-L/opt/homebrew/opt/boost/lib' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/opt/homebrew/opt/boost/lib' [-Wunused-command-line-argument]
LIBBOOST_SUFFIX=-mt
BOOST_VERSION="1_81"
BOOST_DIR=/opt/homebrew/opt/boost/include
XERCES_DIR=/opt/homebrew/opt/boost/include
LIBBOOST_DIR=/opt/homebrew/opt/boost/lib
LIBXERCES_DIR=/opt/homebrew/opt/boost/lib
OPTIONS=
% make
/Applications/Xcode.app/Contents/Developer/usr/bin/make BOOST_DIR="/opt/homebrew/opt/boost/include" LIBBOOST_SUFFIX="-mt" CXXFLAGS="-O2 " -C toppers
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o builtin_function.o builtin_function.cpp
In file included from builtin_function.cpp:46:
In file included from ../toppers/macro_processor.hpp:55:
../toppers/text.hpp:731:25: error: no member named 'next' in namespace 'boost'
std::copy( boost::next( first ).get_row(), last.get_row(), std::back_inserter( container_ ) );
~~~~~~~^
In file included from builtin_function.cpp:49:
../toppers/cpp.hpp:74:42: error: no member named 'next' in namespace 'boost'
ForwardIterator next_iter = boost::next( first );
~~~~~~~^
In file included from builtin_function.cpp:52:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from builtin_function.cpp:52:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from builtin_function.cpp:52:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings and 2 errors generated.
make[1]: *** [builtin_function.o] Error 1
make: *** [toppers] Error 2 以上,よろしくお願いします. |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 2 replies
-
山崎先生、ご連絡ありがとうございます。 該当のビルドエラーですが、boostの該当メンバーがモジュール移動になったためのエラーだと思います。 以下の修正でエラーは解決できるはずです。 |
Beta Was this translation helpful? Give feedback.
-
高田様,ありがとうございます. 無事ビルドできました. |
Beta Was this translation helpful? Give feedback.
-
ビルドできていると思っていたら,リンクエラーが出ていました. % make
/Applications/Xcode.app/Contents/Developer/usr/bin/make BOOST_DIR="/opt/homebrew/opt/boost/include" LIBBOOST_SUFFIX="-mt" CXXFLAGS="-O2 " -C toppers
make[1]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make BOOST_DIR="/opt/homebrew/opt/boost/include" LIBBOOST_SUFFIX="-mt" CXXFLAGS="-O2 " -C toppers/itronx
make[1]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make BOOST_DIR="/opt/homebrew/opt/boost/include" LIBBOOST_SUFFIX="-mt" CXXFLAGS="-O2 " -C toppers/oil
make[1]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make BOOST_DIR="/opt/homebrew/opt/boost/include" LIBBOOST_SUFFIX="-mt" CXXFLAGS="-O2 " -C cfg
c++ -O2 -o cfg cfg.o cfg0.o cfg1.o cfg2.o cfg3.o cfg4.o cfg_version.o -L/opt/homebrew/opt/boost/lib -L/opt/homebrew/opt/boost/lib ../toppers/itronx/libitronx.a ../toppers/oil/liboil.a ../toppers/libtoppers.a -lboost_system-mt -lboost_filesystem-mt -lboost_program_options-mt -lboost_regex-mt
Undefined symbols for architecture arm64:
"boost::scoped_static_mutex_lock::scoped_static_mutex_lock(boost::static_mutex&, bool)", referenced from:
boost::object_cache<boost::re_detail_500::cpp_regex_traits_base<char>, boost::re_detail_500::cpp_regex_traits_implementation<char> >::get(boost::re_detail_500::cpp_regex_traits_base<char> const&, unsigned long) in liboil.a(configuration_manager.o)
boost::cpp_regex_traits<char>::get_catalog_name() in liboil.a(configuration_manager.o)
boost::re_detail_500::get_mem_block() in liboil.a(configuration_manager.o)
boost::re_detail_500::perl_matcher<std::__1::__wrap_iter<char const*>, std::__1::allocator<boost::sub_match<std::__1::__wrap_iter<char const*> > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::unwind_extra_block(bool) in liboil.a(configuration_manager.o)
boost::re_detail_500::save_state_init::~save_state_init() in liboil.a(configuration_manager.o)
boost::re_detail_500::get_mem_block() in liboil.a(oil_object.o)
boost::re_detail_500::perl_matcher<std::__1::__wrap_iter<char const*>, std::__1::allocator<boost::sub_match<std::__1::__wrap_iter<char const*> > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::unwind_extra_block(bool) in liboil.a(oil_object.o)
...
"boost::scoped_static_mutex_lock::~scoped_static_mutex_lock()", referenced from:
boost::object_cache<boost::re_detail_500::cpp_regex_traits_base<char>, boost::re_detail_500::cpp_regex_traits_implementation<char> >::get(boost::re_detail_500::cpp_regex_traits_base<char> const&, unsigned long) in liboil.a(configuration_manager.o)
boost::cpp_regex_traits<char>::get_catalog_name() in liboil.a(configuration_manager.o)
boost::re_detail_500::get_mem_block() in liboil.a(configuration_manager.o)
boost::re_detail_500::perl_matcher<std::__1::__wrap_iter<char const*>, std::__1::allocator<boost::sub_match<std::__1::__wrap_iter<char const*> > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::unwind_extra_block(bool) in liboil.a(configuration_manager.o)
boost::re_detail_500::save_state_init::~save_state_init() in liboil.a(configuration_manager.o)
boost::re_detail_500::get_mem_block() in liboil.a(oil_object.o)
boost::re_detail_500::perl_matcher<std::__1::__wrap_iter<char const*>, std::__1::allocator<boost::sub_match<std::__1::__wrap_iter<char const*> > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::unwind_extra_block(bool) in liboil.a(oil_object.o)
...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [cfg] Error 1
make: *** [cfg] Error 2
./configure
clang: warning: argument unused during compilation: '-L/opt/homebrew/opt/boost/lib' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/opt/homebrew/opt/boost/lib' [-Wunused-command-line-argument]
LIBBOOST_SUFFIX=-mt
BOOST_VERSION="1_81"
BOOST_DIR=/opt/homebrew/opt/boost/include
XERCES_DIR=/opt/homebrew/opt/boost/include
LIBBOOST_DIR=/opt/homebrew/opt/boost/lib
LIBXERCES_DIR=/opt/homebrew/opt/boost/lib
OPTIONS= |
Beta Was this translation helpful? Give feedback.
-
make
/Applications/Xcode.app/Contents/Developer/usr/bin/make BOOST_DIR="/opt/homebrew/opt/boost/include" LIBBOOST_SUFFIX="-mt" CXXFLAGS="-O2 -static" -C toppers
make[1]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make BOOST_DIR="/opt/homebrew/opt/boost/include" LIBBOOST_SUFFIX="-mt" CXXFLAGS="-O2 -static" -C toppers/itronx
make[1]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make BOOST_DIR="/opt/homebrew/opt/boost/include" LIBBOOST_SUFFIX="-mt" CXXFLAGS="-O2 -static" -C toppers/oil
make[1]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make BOOST_DIR="/opt/homebrew/opt/boost/include" LIBBOOST_SUFFIX="-mt" CXXFLAGS="-O2 -static" -C cfg
c++ -O2 -static -o cfg cfg.o cfg0.o cfg1.o cfg2.o cfg3.o cfg4.o cfg_version.o -L/opt/homebrew/opt/boost/lib -L/opt/homebrew/opt/boost/lib ../toppers/itronx/libitronx.a ../toppers/oil/liboil.a ../toppers/libtoppers.a -lboost_system-mt -lboost_filesystem-mt -lboost_program_options-mt -lboost_regex-mt
ld: library not found for -lcrt0.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [cfg] Error 1
make: *** [cfg] Error 2 |
Beta Was this translation helpful? Give feedback.
-
情報ありがとうございます。 |
Beta Was this translation helpful? Give feedback.
-
ありがとうございます.
% make clean
for subdir in toppers toppers/itronx toppers/oil cfg ; do \
if test -d $subdir ; then \
/Applications/Xcode.app/Contents/Developer/usr/bin/make clean -C $subdir ; \
fi ; \
done \
rm -f *.o *.a
rm -f *.o *.a
rm -f *.o *.a
rm -f *.o cfg *.exe
% ./configure
clang: warning: argument unused during compilation: '-L/opt/homebrew/opt/boost/lib' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/opt/homebrew/opt/boost/lib' [-Wunused-command-line-argument]
LIBBOOST_SUFFIX=-mt
BOOST_VERSION="1_81"
BOOST_DIR=/opt/homebrew/opt/boost/include
XERCES_DIR=/opt/homebrew/opt/boost/include
LIBBOOST_DIR=/opt/homebrew/opt/boost/lib
LIBXERCES_DIR=/opt/homebrew/opt/boost/lib
OPTIONS=
% make
/Applications/Xcode.app/Contents/Developer/usr/bin/make BOOST_DIR="/opt/homebrew/opt/boost/include" LIBBOOST_SUFFIX="-mt" CXXFLAGS="-O2 " -C toppers
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o builtin_function.o builtin_function.cpp
In file included from builtin_function.cpp:52:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from builtin_function.cpp:52:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from builtin_function.cpp:52:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o c_chlit_parser.o c_chlit_parser.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o c_ident_parser.o c_ident_parser.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o c_int_parser.o c_int_parser.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o c_keywords.o c_keywords.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o c_plus_plus_keywords.o c_plus_plus_keywords.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o c_strlit_parser.o c_strlit_parser.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o cpp.o cpp.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o diagnostics.o diagnostics.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o gettext.o gettext.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o global.o global.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o io.o io.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o macro_processor.o macro_processor.cpp
In file included from macro_processor.cpp:56:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from macro_processor.cpp:56:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from macro_processor.cpp:56:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o mbchar_parser.o mbchar_parser.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o nm_symbol.o nm_symbol.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o output_file.o output_file.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o s_record.o s_record.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o ucn_parser.o ucn_parser.cpp
ar rcs libtoppers.a builtin_function.o c_chlit_parser.o c_ident_parser.o c_int_parser.o c_keywords.o c_plus_plus_keywords.o c_strlit_parser.o cpp.o diagnostics.o gettext.o global.o io.o macro_processor.o mbchar_parser.o nm_symbol.o output_file.o s_record.o ucn_parser.o
/Applications/Xcode.app/Contents/Developer/usr/bin/make BOOST_DIR="/opt/homebrew/opt/boost/include" LIBBOOST_SUFFIX="-mt" CXXFLAGS="-O2 " -C toppers/itronx
c++ -O2 -I/opt/homebrew/opt/boost/include -I../.. -c -o cfg1_out.o cfg1_out.cpp
In file included from cfg1_out.cpp:57:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cfg1_out.cpp:57:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cfg1_out.cpp:57:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
c++ -O2 -I/opt/homebrew/opt/boost/include -I../.. -c -o checker.o checker.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I../.. -c -o component.o component.cpp
In file included from component.cpp:56:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from component.cpp:56:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from component.cpp:56:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
c++ -O2 -I/opt/homebrew/opt/boost/include -I../.. -c -o factory.o factory.cpp
In file included from factory.cpp:40:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from factory.cpp:40:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from factory.cpp:40:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
c++ -O2 -I/opt/homebrew/opt/boost/include -I../.. -c -o preprocess.o preprocess.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I../.. -c -o static_api.o static_api.cpp
In file included from static_api.cpp:43:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from static_api.cpp:43:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from static_api.cpp:43:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
ar rcs libitronx.a cfg1_out.o checker.o component.o factory.o preprocess.o static_api.o
/Applications/Xcode.app/Contents/Developer/usr/bin/make BOOST_DIR="/opt/homebrew/opt/boost/include" LIBBOOST_SUFFIX="-mt" CXXFLAGS="-O2 " -C toppers/oil
c++ -O2 -I/opt/homebrew/opt/boost/include -I../.. -c -o cfg1_out.o cfg1_out.cpp
In file included from cfg1_out.cpp:53:
In file included from ../../toppers/oil/cfg1_out.hpp:54:
In file included from ../../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cfg1_out.cpp:53:
In file included from ../../toppers/oil/cfg1_out.hpp:54:
In file included from ../../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cfg1_out.cpp:53:
In file included from ../../toppers/oil/cfg1_out.hpp:54:
In file included from ../../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cfg1_out.cpp:55:
In file included from ../../toppers/oil/configuration_manager.hpp:44:
../../toppers/oil/oil_parser.hpp:311:5: 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(buf , "%lf" , val);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
4 warnings generated.
c++ -O2 -I/opt/homebrew/opt/boost/include -I../.. -c -o checker.o checker.cpp
In file included from checker.cpp:46:
In file included from ../../toppers/oil/cfg1_out.hpp:54:
In file included from ../../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from checker.cpp:46:
In file included from ../../toppers/oil/cfg1_out.hpp:54:
In file included from ../../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from checker.cpp:46:
In file included from ../../toppers/oil/cfg1_out.hpp:54:
In file included from ../../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
c++ -O2 -I/opt/homebrew/opt/boost/include -I../.. -c -o configuration_manager.o configuration_manager.cpp
In file included from configuration_manager.cpp:45:
In file included from ../../toppers/oil/configuration_manager.hpp:44:
In file included from ../../toppers/oil/oil_parser.hpp:52:
In file included from ../../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from configuration_manager.cpp:45:
In file included from ../../toppers/oil/configuration_manager.hpp:44:
In file included from ../../toppers/oil/oil_parser.hpp:52:
In file included from ../../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from configuration_manager.cpp:45:
In file included from ../../toppers/oil/configuration_manager.hpp:44:
In file included from ../../toppers/oil/oil_parser.hpp:52:
In file included from ../../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from configuration_manager.cpp:45:
In file included from ../../toppers/oil/configuration_manager.hpp:44:
../../toppers/oil/oil_parser.hpp:311:5: 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(buf , "%lf" , val);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
4 warnings generated.
c++ -O2 -I/opt/homebrew/opt/boost/include -I../.. -c -o factory.o factory.cpp
In file included from factory.cpp:41:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from factory.cpp:41:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from factory.cpp:41:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
c++ -O2 -I/opt/homebrew/opt/boost/include -I../.. -c -o oil_object.o oil_object.cpp
In file included from oil_object.cpp:39:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from oil_object.cpp:39:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from oil_object.cpp:39:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
c++ -O2 -I/opt/homebrew/opt/boost/include -I../.. -c -o oil_parse.o oil_parse.cpp
In file included from oil_parse.cpp:41:
In file included from ../../toppers/oil/oil_parser.hpp:52:
In file included from ../../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from oil_parse.cpp:41:
In file included from ../../toppers/oil/oil_parser.hpp:52:
In file included from ../../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from oil_parse.cpp:41:
In file included from ../../toppers/oil/oil_parser.hpp:52:
In file included from ../../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from oil_parse.cpp:41:
../../toppers/oil/oil_parser.hpp:311:5: 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(buf , "%lf" , val);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
4 warnings generated.
c++ -O2 -I/opt/homebrew/opt/boost/include -I../.. -c -o preprocess.o preprocess.cpp
ar rcs liboil.a cfg1_out.o checker.o configuration_manager.o factory.o oil_object.o oil_parse.o preprocess.o
/Applications/Xcode.app/Contents/Developer/usr/bin/make BOOST_DIR="/opt/homebrew/opt/boost/include" LIBBOOST_SUFFIX="-mt" CXXFLAGS="-O2 " -C cfg
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o cfg.o cfg.cpp
In file included from cfg.cpp:50:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cfg.cpp:50:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cfg.cpp:50:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o cfg0.o cfg0.cpp
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o cfg1.o cfg1.cpp
In file included from cfg1.cpp:39:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cfg1.cpp:39:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cfg1.cpp:39:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o cfg2.o cfg2.cpp
In file included from cfg2.cpp:43:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cfg2.cpp:43:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cfg2.cpp:43:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o cfg3.o cfg3.cpp
In file included from cfg3.cpp:44:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cfg3.cpp:44:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cfg3.cpp:44:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o cfg4.o cfg4.cpp
In file included from cfg4.cpp:37:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cfg4.cpp:37:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cfg4.cpp:37:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
c++ -O2 -I/opt/homebrew/opt/boost/include -I.. -c -o cfg_version.o cfg_version.cpp
In file included from cfg_version.cpp:38:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cfg_version.cpp:38:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
In file included from cfg_version.cpp:38:
In file included from ./cfg.hpp:61:
In file included from ../toppers/oil/factory.hpp:55:
In file included from ../toppers/oil/cfg1_out.hpp:54:
In file included from ../toppers/oil/oil_object.hpp:48:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast.hpp:32:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
/opt/homebrew/opt/boost/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: 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(begin,
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("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.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
c++ -O2 -o cfg cfg.o cfg0.o cfg1.o cfg2.o cfg3.o cfg4.o cfg_version.o -L/opt/homebrew/opt/boost/lib -L/opt/homebrew/opt/boost/lib ../toppers/itronx/libitronx.a ../toppers/oil/liboil.a ../toppers/libtoppers.a -lboost_system-mt -lboost_filesystem-mt -lboost_program_options-mt -lboost_regex-mt
Undefined symbols for architecture arm64:
"boost::scoped_static_mutex_lock::scoped_static_mutex_lock(boost::static_mutex&, bool)", referenced from:
boost::object_cache<boost::re_detail_500::cpp_regex_traits_base<char>, boost::re_detail_500::cpp_regex_traits_implementation<char> >::get(boost::re_detail_500::cpp_regex_traits_base<char> const&, unsigned long) in liboil.a(configuration_manager.o)
boost::cpp_regex_traits<char>::get_catalog_name() in liboil.a(configuration_manager.o)
boost::re_detail_500::get_mem_block() in liboil.a(configuration_manager.o)
boost::re_detail_500::perl_matcher<std::__1::__wrap_iter<char const*>, std::__1::allocator<boost::sub_match<std::__1::__wrap_iter<char const*> > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::unwind_extra_block(bool) in liboil.a(configuration_manager.o)
boost::re_detail_500::save_state_init::~save_state_init() in liboil.a(configuration_manager.o)
boost::re_detail_500::get_mem_block() in liboil.a(oil_object.o)
boost::re_detail_500::perl_matcher<std::__1::__wrap_iter<char const*>, std::__1::allocator<boost::sub_match<std::__1::__wrap_iter<char const*> > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::unwind_extra_block(bool) in liboil.a(oil_object.o)
...
"boost::scoped_static_mutex_lock::~scoped_static_mutex_lock()", referenced from:
boost::object_cache<boost::re_detail_500::cpp_regex_traits_base<char>, boost::re_detail_500::cpp_regex_traits_implementation<char> >::get(boost::re_detail_500::cpp_regex_traits_base<char> const&, unsigned long) in liboil.a(configuration_manager.o)
boost::cpp_regex_traits<char>::get_catalog_name() in liboil.a(configuration_manager.o)
boost::re_detail_500::get_mem_block() in liboil.a(configuration_manager.o)
boost::re_detail_500::perl_matcher<std::__1::__wrap_iter<char const*>, std::__1::allocator<boost::sub_match<std::__1::__wrap_iter<char const*> > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::unwind_extra_block(bool) in liboil.a(configuration_manager.o)
boost::re_detail_500::save_state_init::~save_state_init() in liboil.a(configuration_manager.o)
boost::re_detail_500::get_mem_block() in liboil.a(oil_object.o)
boost::re_detail_500::perl_matcher<std::__1::__wrap_iter<char const*>, std::__1::allocator<boost::sub_match<std::__1::__wrap_iter<char const*> > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::unwind_extra_block(bool) in liboil.a(oil_object.o)
...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [cfg] Error 1
make: *** [cfg] Error 2 |
Beta Was this translation helpful? Give feedback.
-
を追加してみてください。 |
Beta Was this translation helpful? Give feedback.
-
ああ,ようやくできました! |
Beta Was this translation helpful? Give feedback.
-
この度はありがとうございました.HomebrewのBoostを使ったコンフィギュレータのビルド方法をQiita記事にまとめました. |
Beta Was this translation helpful? Give feedback.
山崎先生、ご連絡ありがとうございます。
該当のビルドエラーですが、boostの該当メンバーがモジュール移動になったためのエラーだと思います。
https://boostjp.github.io/document/version/1_67_0.html#utility
以下の修正でエラーは解決できるはずです。
mitsut/cfg@3b95279