Skip to content

Instantly share code, notes, and snippets.

@kefeimo
Created January 6, 2023 05:17
Show Gist options
  • Save kefeimo/35b7536c235c31ba0abf0da7fa7c4125 to your computer and use it in GitHub Desktop.
Save kefeimo/35b7536c235c31ba0abf0da7fa7c4125 to your computer and use it in GitHub Desktop.
cmake build dnp3-python full log
(dnp3-sandbox) kefei@ubuntu-22:~/project/dnp3-python$ python setup.py install
running install
/home/kefei/miniconda3/envs/dnp3-sandbox/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/home/kefei/miniconda3/envs/dnp3-sandbox/lib/python3.10/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running bdist_egg
running egg_info
writing src/dnp3_python.egg-info/PKG-INFO
writing dependency_links to src/dnp3_python.egg-info/dependency_links.txt
writing entry points to src/dnp3_python.egg-info/entry_points.txt
writing top-level names to src/dnp3_python.egg-info/top_level.txt
reading manifest file 'src/dnp3_python.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/dnp3_python.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake build is: Release
-- Found PythonInterp: /home/kefei/miniconda3/envs/dnp3-sandbox/bin/python (found version "3.10.8")
-- Found PythonLibs: /home/kefei/miniconda3/envs/dnp3-sandbox/lib/libpython3.10.so
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- pybind11 v2.3.dev0
CMake Deprecation Warning at deps/dnp3/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake build is: Release
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
ASIO has been checked out as a git submodule: /home/kefei/project/dnp3-python/deps/dnp3/deps/asio/asio/include
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- LTO enabled
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kefei/project/dnp3-python/build/temp.linux-x86_64-cpython-310
[ 0%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/container/Buffer.cpp.o
[ 1%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/container/RSlice.cpp.o
[ 1%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/container/WSlice.cpp.o
[ 2%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/executor/MonotonicTimestamp.cpp.o
[ 2%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/executor/TimeDuration.cpp.o
[ 3%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/executor/TimerRef.cpp.o
[ 3%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/logging/Logger.cpp.o
[ 4%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/logging/StringFormatting.cpp.o
[ 4%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/ByteSerialization.cpp.o
[ 5%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/DoubleFloat.cpp.o
[ 5%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/FloatByteOrder.cpp.o
[ 6%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/Format.cpp.o
[ 6%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/Parse.cpp.o
[ 7%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/SingleFloat.cpp.o
[ 7%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/serialization/UInt48LE.cpp.o
[ 8%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/util/Limits.cpp.o
[ 8%] Building CXX object deps/dnp3/CMakeFiles/openpal.dir/cpp/libs/src/openpal/util/ToHex.cpp.o
[ 9%] Linking CXX static library libopenpal.a
[ 9%] Built target openpal
[ 9%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/LogLevels.cpp.o
[ 10%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ASIOSerialHelpers.cpp.o
[ 11%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDUBuilders.cpp.o
[ 11%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDUHeader.cpp.o
[ 12%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDULogging.cpp.o
[ 12%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDURequest.cpp.o
[ 13%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDUResponse.cpp.o
[ 13%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/APDUWrapper.cpp.o
[ 14%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/AnalogCommandEvent.cpp.o
[ 14%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/AnalogOutput.cpp.o
[ 15%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/AppControlField.cpp.o
[ 15%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ChannelRetry.cpp.o
[ 15%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/BinaryCommandEvent.cpp.o
[ 16%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/Executor.cpp.o
[ 17%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/ClassField.cpp.o
[ 17%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/ControlRelayOutputBlock.cpp.o
[ 18%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/EventTriggers.cpp.o
[ 18%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/Functions.cpp.o
[ 19%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/GroupVariationRecord.cpp.o
[ 19%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/HeaderWriter.cpp.o
[ 19%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/IINField.cpp.o
[ 20%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/MeasurementTypes.cpp.o
[ 20%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/OctetData.cpp.o
[ 21%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/QualityFlags.cpp.o
[ 21%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/SecurityStat.cpp.o
[ 22%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/APDUHeaderParser.cpp.o
[ 22%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/APDUParser.cpp.o
[ 23%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/BitReader.cpp.o
[ 23%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/CountIndexParser.cpp.o
[ 23%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/IOpenDelayStrategy.cpp.o
[ 23%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ResourceManager.cpp.o
[ 24%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/CountParser.cpp.o
[ 25%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/SerialChannel.cpp.o
[ 25%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/FreeFormatParser.cpp.o
[ 26%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/IAPDUHandler.cpp.o
[ 26%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/NumParser.cpp.o
[ 27%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/ObjectHeaderParser.cpp.o
[ 27%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/app/parsing/RangeParser.cpp.o
[ 27%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/SocketChannel.cpp.o
[ 28%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/Attributes.cpp.o
[ 28%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/AuthErrorCode.cpp.o
[ 29%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/CertificateType.cpp.o
[ 29%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/ChallengeReason.cpp.o
[ 30%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/ChannelState.cpp.o
[ 30%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/CommandPointState.cpp.o
[ 31%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/CommandStatus.cpp.o
[ 31%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/ControlCode.cpp.o
[ 32%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/DoubleBit.cpp.o
[ 32%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/FlagsType.cpp.o
[ 32%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/FlowControl.cpp.o
[ 33%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/FunctionCode.cpp.o
[ 33%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/GroupVariation.cpp.o
[ 34%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/HMACType.cpp.o
[ 34%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/IntervalUnits.cpp.o
[ 35%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/KeyChangeMethod.cpp.o
[ 35%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/KeyStatus.cpp.o
[ 36%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/KeyWrapAlgorithm.cpp.o
[ 36%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/LinkFunction.cpp.o
[ 37%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/LinkStatus.cpp.o
[ 37%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/MasterTaskType.cpp.o
[ 38%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/Parity.cpp.o
[ 38%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/QualifierCode.cpp.o
[ 39%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/StopBits.cpp.o
[ 39%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/TaskCompletion.cpp.o
[ 40%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/UserOperation.cpp.o
[ 40%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/gen/UserRole.cpp.o
[ 41%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/TCPClient.cpp.o
[ 42%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/CRC.cpp.o
[ 42%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkContext.cpp.o
[ 43%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkFrame.cpp.o
[ 43%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkHeader.cpp.o
[ 44%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkHeaderFields.cpp.o
[ 44%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkLayer.cpp.o
[ 45%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/LinkLayerParser.cpp.o
[ 45%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/PriLinkLayerStates.cpp.o
[ 46%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/SecLinkLayerStates.cpp.o
[ 46%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/link/ShiftableBuffer.cpp.o
[ 46%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/TCPServer.cpp.o
[ 46%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/AssignClassTask.cpp.o
[ 47%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/ClearRestartTask.cpp.o
[ 47%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/CommandSet.cpp.o
[ 48%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/CommandSetOps.cpp.o
[ 48%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/CommandTask.cpp.o
[ 49%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/ThreadPool.cpp.o
[ 50%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/CommandTaskResult.cpp.o
[ 50%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/DisableUnsolicitedTask.cpp.o
[ 51%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/EmptyResponseTask.cpp.o
[ 51%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/EnableUnsolicitedTask.cpp.o
[ 52%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/EventScanTask.cpp.o
[ 52%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/TimeConversions.cpp.o
[ 53%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/Timer.cpp.o
[ 53%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/HeaderTypes.cpp.o
[ 54%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/IMasterTask.cpp.o
[ 54%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/LANTimeSyncTask.cpp.o
[ 55%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MasterContext.cpp.o
[ 55%] Building CXX object deps/dnp3/CMakeFiles/asiopal.dir/cpp/libs/src/asiopal/UTCTimeSource.cpp.o
[ 56%] Linking CXX static library libasiopal.a
[ 56%] Built target asiopal
[ 56%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MasterSchedulerBackend.cpp.o
[ 57%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MasterTasks.cpp.o
[ 57%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/MeasurementHandler.cpp.o
[ 58%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/PollTaskBase.cpp.o
[ 58%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/RestartOperationTask.cpp.o
[ 59%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/SerialTimeSyncTask.cpp.o
[ 59%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/StartupIntegrityPoll.cpp.o
[ 60%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/TaskBehavior.cpp.o
In file included from /home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.cpp:22:
/home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.h: In constructor ‘opendnp3::TaskBehavior::TaskBehavior(const openpal::TimeDuration&, const openpal::MonotonicTimestamp&, const openpal::TimeDuration&, const openpal::TimeDuration&, const openpal::MonotonicTimestamp&)’:
/home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.h:115:37: warning: ‘opendnp3::TaskBehavior::expiration’ will be initialized after [-Wreorder]
115 | openpal::MonotonicTimestamp expiration;
| ^~~~~~~~~~
/home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.h:107:37: warning: ‘const openpal::TimeDuration opendnp3::TaskBehavior::minRetryDelay’ [-Wreorder]
107 | const openpal::TimeDuration minRetryDelay;
| ^~~~~~~~~~~~~
/home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.cpp:87:1: warning: when initialized here [-Wreorder]
87 | TaskBehavior::TaskBehavior(
| ^~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.cpp:22:
/home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.h:118:31: warning: ‘opendnp3::TaskBehavior::currentRetryDelay’ will be initialized after [-Wreorder]
118 | openpal::TimeDuration currentRetryDelay;
| ^~~~~~~~~~~~~~~~~
/home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.h:109:43: warning: ‘const openpal::MonotonicTimestamp opendnp3::TaskBehavior::startExpiration’ [-Wreorder]
109 | const openpal::MonotonicTimestamp startExpiration;
| ^~~~~~~~~~~~~~~
/home/kefei/project/dnp3-python/deps/dnp3/cpp/libs/src/opendnp3/master/TaskBehavior.cpp:87:1: warning: when initialized here [-Wreorder]
87 | TaskBehavior::TaskBehavior(
| ^~~~~~~~~~~~
[ 60%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/TaskContext.cpp.o
[ 61%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/master/UserPollTask.cpp.o
[ 61%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group1.cpp.o
[ 61%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group10.cpp.o
[ 62%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group11.cpp.o
[ 62%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group12.cpp.o
[ 63%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group120.cpp.o
[ 63%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group121.cpp.o
[ 64%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group122.cpp.o
[ 64%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group13.cpp.o
[ 65%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group2.cpp.o
[ 65%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group20.cpp.o
[ 66%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group21.cpp.o
[ 66%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group22.cpp.o
[ 67%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group23.cpp.o
[ 67%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group3.cpp.o
[ 68%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group30.cpp.o
[ 68%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group32.cpp.o
[ 69%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group4.cpp.o
[ 69%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group40.cpp.o
[ 70%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group41.cpp.o
[ 70%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group42.cpp.o
[ 71%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group43.cpp.o
[ 71%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group50.cpp.o
[ 72%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group51.cpp.o
[ 72%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/objects/Group52.cpp.o
[ 73%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/ApplicationIIN.cpp.o
[ 73%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/AssignClassHandler.cpp.o
[ 74%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/ClassBasedRequestHandler.cpp.o
[ 74%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/CommandActionAdapter.cpp.o
[ 74%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/CommandResponseHandler.cpp.o
[ 75%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/Database.cpp.o
[ 75%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/DatabaseBuffers.cpp.o
[ 76%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/DatabaseConfigView.cpp.o
[ 76%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/DeferredRequest.cpp.o
[ 77%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/EventBuffer.cpp.o
[ 77%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/EventBufferConfig.cpp.o
[ 78%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/EventCount.cpp.o
[ 78%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/EventWriter.cpp.o
[ 79%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/IINHelpers.cpp.o
[ 79%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/IOutstationApplication.cpp.o
[ 80%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/OutstationContext.cpp.o
[ 80%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/OutstationStates.cpp.o
[ 81%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/ReadHandler.cpp.o
[ 81%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/RequestHistory.cpp.o
[ 82%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/ResponseContext.cpp.o
[ 82%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/SOERecord.cpp.o
[ 83%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/SelectedRanges.cpp.o
[ 83%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/SimpleCommandHandler.cpp.o
[ 84%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/StaticBuffers.cpp.o
[ 84%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/StaticLoadFunctions.cpp.o
[ 85%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/outstation/WriteHandler.cpp.o
[ 85%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/transport/TransportLayer.cpp.o
[ 86%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/transport/TransportRx.cpp.o
[ 86%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/transport/TransportStack.cpp.o
[ 86%] Building CXX object deps/dnp3/CMakeFiles/opendnp3.dir/cpp/libs/src/opendnp3/transport/TransportTx.cpp.o
[ 87%] Linking CXX static library libopendnp3.a
[ 87%] Built target opendnp3
[ 87%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/ConsoleLogger.cpp.o
[ 87%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/Conversions.cpp.o
[ 88%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DNP3Channel.cpp.o
[ 88%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DNP3Manager.cpp.o
[ 89%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DNP3ManagerImpl.cpp.o
[ 89%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DefaultListenCallbacks.cpp.o
[ 90%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/DefaultMasterApplication.cpp.o
[ 90%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/ErrorCodes.cpp.o
[ 91%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/IOHandler.cpp.o
[ 91%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/LinkSession.cpp.o
[ 92%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/MasterScan.cpp.o
[ 92%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/MasterSessionStack.cpp.o
[ 93%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/MasterStack.cpp.o
[ 93%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/MasterTCPServer.cpp.o
[ 94%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/OutstationStack.cpp.o
[ 94%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/PrintingCommandCallback.cpp.o
[ 95%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/PrintingSOEHandler.cpp.o
[ 95%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/SerialIOHandler.cpp.o
[ 96%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/TCPClientIOHandler.cpp.o
[ 96%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/TCPServerIOHandler.cpp.o
[ 97%] Building CXX object deps/dnp3/CMakeFiles/asiodnp3.dir/cpp/libs/src/asiodnp3/UpdateBuilder.cpp.o
[ 97%] Linking CXX static library libasiodnp3.a
[ 97%] Built target asiodnp3
[ 97%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3.cpp.o
[ 98%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3asiodnp3.cpp.o
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
| ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
| ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:167:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
167 | PyEval_InitThreads();
| ~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:130,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:169:52: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
169 | internals_ptr->tstate = PyThread_create_key();
| ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:170:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
170 | PyThread_set_key_value(internals_ptr->tstate, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
| ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
| ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:167:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
167 | PyEval_InitThreads();
| ~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:130,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:169:52: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
169 | internals_ptr->tstate = PyThread_create_key();
| ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:170:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
170 | PyThread_set_key_value(internals_ptr->tstate, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_acquire::gil_scoped_acquire()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1758:58: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1758 | tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:112:39: note: declared here
112 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1770:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1770 | PyThread_set_key_value(internals.tstate, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::gil_scoped_acquire::dec_ref()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1809:38: warning: ‘void PyThread_delete_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1809 | PyThread_delete_key_value(detail::get_internals().tstate);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:113:37: note: declared here
113 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_release::gil_scoped_release(bool)’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1837:39: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1837 | PyThread_set_key_value(key, nullptr);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1850:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1850 | PyThread_set_key_value(key, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_acquire::gil_scoped_acquire()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1758:58: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1758 | tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:112:39: note: declared here
112 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1770:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1770 | PyThread_set_key_value(internals.tstate, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::gil_scoped_acquire::dec_ref()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1809:38: warning: ‘void PyThread_delete_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1809 | PyThread_delete_key_value(detail::get_internals().tstate);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:113:37: note: declared here
113 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_release::gil_scoped_release(bool)’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1837:39: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1837 | PyThread_set_key_value(key, nullptr);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1850:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1850 | PyThread_set_key_value(key, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiodnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
[ 98%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3asiopal.cpp.o
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
| ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
| ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:167:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
167 | PyEval_InitThreads();
| ~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:130,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:169:52: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
169 | internals_ptr->tstate = PyThread_create_key();
| ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:170:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
170 | PyThread_set_key_value(internals_ptr->tstate, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_acquire::gil_scoped_acquire()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1758:58: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1758 | tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:112:39: note: declared here
112 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1770:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1770 | PyThread_set_key_value(internals.tstate, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::gil_scoped_acquire::dec_ref()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1809:38: warning: ‘void PyThread_delete_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1809 | PyThread_delete_key_value(detail::get_internals().tstate);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:113:37: note: declared here
113 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_release::gil_scoped_release(bool)’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1837:39: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1837 | PyThread_set_key_value(key, nullptr);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1850:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1850 | PyThread_set_key_value(key, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3asiopal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
[ 99%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3opendnp3.cpp.o
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
| ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
| ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:167:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
167 | PyEval_InitThreads();
| ~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:130,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:169:52: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
169 | internals_ptr->tstate = PyThread_create_key();
| ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:170:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
170 | PyThread_set_key_value(internals_ptr->tstate, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_acquire::gil_scoped_acquire()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1758:58: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1758 | tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:112:39: note: declared here
112 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1770:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1770 | PyThread_set_key_value(internals.tstate, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::gil_scoped_acquire::dec_ref()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1809:38: warning: ‘void PyThread_delete_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1809 | PyThread_delete_key_value(detail::get_internals().tstate);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:113:37: note: declared here
113 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_release::gil_scoped_release(bool)’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1837:39: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1837 | PyThread_set_key_value(key, nullptr);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1850:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1850 | PyThread_set_key_value(key, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3opendnp3.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
[ 99%] Building CXX object CMakeFiles/pydnp3.dir/src/pydnp3openpal.cpp.o
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
| ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
| ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:167:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
167 | PyEval_InitThreads();
| ~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:130,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:169:52: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
169 | internals_ptr->tstate = PyThread_create_key();
| ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:108:36: note: declared here
108 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:16,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/internals.h:170:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
170 | PyThread_set_key_value(internals_ptr->tstate, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_acquire::gil_scoped_acquire()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1758:58: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1758 | tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:112:39: note: declared here
112 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1770:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1770 | PyThread_set_key_value(internals.tstate, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::gil_scoped_acquire::dec_ref()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1809:38: warning: ‘void PyThread_delete_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1809 | PyThread_delete_key_value(detail::get_internals().tstate);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:113:37: note: declared here
113 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_release::gil_scoped_release(bool)’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1837:39: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1837 | PyThread_set_key_value(key, nullptr);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’:
/home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:1850:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1850 | PyThread_set_key_value(key, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/Python.h:122,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/detail/common.h:111,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pytypes.h:12,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/cast.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/attr.h:13,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/pybind11.h:43,
from /home/kefei/project/dnp3-python/deps/pybind11/include/pybind11/stl.h:12,
from /home/kefei/project/dnp3-python/src/pydnp3openpal.cpp:31:
/home/kefei/miniconda3/envs/dnp3-sandbox/include/python3.10/pythread.h:110:36: note: declared here
110 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
[100%] Linking CXX shared module /home/kefei/project/dnp3-python/build/lib.linux-x86_64-cpython-310/pydnp3.cpython-310-x86_64-linux-gnu.so
[100%] Built target pydnp3
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-cpython-310/pydnp3.cpython-310-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/dnp3_python
creating build/bdist.linux-x86_64/egg/dnp3_python/dnp3station
copying build/lib.linux-x86_64-cpython-310/dnp3_python/dnp3station/station_utils.py -> build/bdist.linux-x86_64/egg/dnp3_python/dnp3station
copying build/lib.linux-x86_64-cpython-310/dnp3_python/dnp3station/visitors.py -> build/bdist.linux-x86_64/egg/dnp3_python/dnp3station
copying build/lib.linux-x86_64-cpython-310/dnp3_python/dnp3station/__init__.py -> build/bdist.linux-x86_64/egg/dnp3_python/dnp3station
copying build/lib.linux-x86_64-cpython-310/dnp3_python/dnp3station/outstation_new.py -> build/bdist.linux-x86_64/egg/dnp3_python/dnp3station
copying build/lib.linux-x86_64-cpython-310/dnp3_python/dnp3station/master_new.py -> build/bdist.linux-x86_64/egg/dnp3_python/dnp3station
copying build/lib.linux-x86_64-cpython-310/dnp3_python/__init__.py -> build/bdist.linux-x86_64/egg/dnp3_python
creating build/bdist.linux-x86_64/egg/dnp3demo
copying build/lib.linux-x86_64-cpython-310/dnp3demo/control_workflow_demo.py -> build/bdist.linux-x86_64/egg/dnp3demo
copying build/lib.linux-x86_64-cpython-310/dnp3demo/data_retrieval_demo.py -> build/bdist.linux-x86_64/egg/dnp3demo
copying build/lib.linux-x86_64-cpython-310/dnp3demo/run_master.py -> build/bdist.linux-x86_64/egg/dnp3demo
copying build/lib.linux-x86_64-cpython-310/dnp3demo/multi_stations_demo.py -> build/bdist.linux-x86_64/egg/dnp3demo
copying build/lib.linux-x86_64-cpython-310/dnp3demo/__init__.py -> build/bdist.linux-x86_64/egg/dnp3demo
copying build/lib.linux-x86_64-cpython-310/dnp3demo/run_outstation.py -> build/bdist.linux-x86_64/egg/dnp3demo
copying build/lib.linux-x86_64-cpython-310/dnp3demo/__main__.py -> build/bdist.linux-x86_64/egg/dnp3demo
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/dnp3station/station_utils.py to station_utils.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/dnp3station/visitors.py to visitors.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/dnp3station/__init__.py to __init__.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/dnp3station/outstation_new.py to outstation_new.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/dnp3station/master_new.py to master_new.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3_python/__init__.py to __init__.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/control_workflow_demo.py to control_workflow_demo.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/data_retrieval_demo.py to data_retrieval_demo.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/run_master.py to run_master.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/multi_stations_demo.py to multi_stations_demo.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/__init__.py to __init__.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/run_outstation.py to run_outstation.cpython-310.pyc
byte-compiling build/bdist.linux-x86_64/egg/dnp3demo/__main__.py to __main__.cpython-310.pyc
creating stub loader for pydnp3.cpython-310-x86_64-linux-gnu.so
byte-compiling build/bdist.linux-x86_64/egg/pydnp3.py to pydnp3.cpython-310.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying src/dnp3_python.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/dnp3_python.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/dnp3_python.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/dnp3_python.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/dnp3_python.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying src/dnp3_python.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
creating dist
creating 'dist/dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg
creating /home/kefei/miniconda3/envs/dnp3-sandbox/lib/python3.10/site-packages/dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg
Extracting dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg to /home/kefei/miniconda3/envs/dnp3-sandbox/lib/python3.10/site-packages
Adding dnp3-python 0.2.3b2 to easy-install.pth file
Installing dnp3demo script to /home/kefei/miniconda3/envs/dnp3-sandbox/bin
Installed /home/kefei/miniconda3/envs/dnp3-sandbox/lib/python3.10/site-packages/dnp3_python-0.2.3b2-py3.10-linux-x86_64.egg
Processing dependencies for dnp3-python==0.2.3b2
Finished processing dependencies for dnp3-python==0.2.3b2
@kefeimo
Copy link
Author

kefeimo commented Jan 10, 2023

64 cd ~

65 mkdir sandbox

66 cd sandbox/

67 git clone git@github.com:kefeimo/dnp3-python.git --recurse-submodules

68 cd dnp3-python/

69 python -V

70 python3 -V

71 sudo apt-get list | grep build

72 apt list | grep build

73 apt list | grep build-essential

74 python3 -m venv dnp3-env

75 source dnp3-env/bin/activate

76 pip install cmake

77 python -V

78 python setup.py install

79 dnp3demo

80 pip install argcomplete

81 dnp3demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment