You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug Description
Compile Failed in the latest MacOS version with clang 16.0.0.
It's shown as a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
I find solution in this issue(madler/zlib#633), it has been resolved in newer version(Maybe update your fork one is perfectly right). And then I update the zlib_CMakeLists.txt.in, set GIT_REPOSITORY=https://github.com/madler/zlib.git and GIT_TAG=v1.3, the zlib can be compiled successfully.
However, when I fix it, I find a new one, which is as follows:
TDengine/source/libs/executor/src/aggregateoperator.c:482:84: error: passing arguments to 'terrstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
qError("Init stream agg supporter failed since %s, key:%s, tempDir:%s", terrstr(code), pKey, tsTempDir);
^
emmm, Maybe it's a bug. Please fix.
thank you
To Reproduce
Steps to reproduce the behavior:
Just build it with followed Environment
Screenshots
Environment (please complete the following information):
OS: MacOS Ventura (13.5) M2
TDengine Version [e.g. 3.0]
clang: Homebrew clang version 16.0.0 Target: x86_64-apple-darwin22.6.0
Additional Context
no
The text was updated successfully, but these errors were encountered:
Bug Description
Compile Failed in the latest MacOS version with clang 16.0.0.
It's shown as
a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
I find solution in this issue(madler/zlib#633), it has been resolved in newer version(Maybe update your fork one is perfectly right). And then I update the
zlib_CMakeLists.txt.in
, setGIT_REPOSITORY=https://github.com/madler/zlib.git
andGIT_TAG=v1.3
, the zlib can be compiled successfully.However, when I fix it, I find a new one, which is as follows:
emmm, Maybe it's a bug. Please fix.
thank you
To Reproduce
Steps to reproduce the behavior:
Just build it with followed Environment
Screenshots
Environment (please complete the following information):
Additional Context
no
The text was updated successfully, but these errors were encountered: