Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PellesC] fix _lseeki64() macro #7397

Merged
merged 1 commit into from Jul 16, 2021
Merged

[PellesC] fix _lseeki64() macro #7397

merged 1 commit into from Jul 16, 2021

Conversation

@gvanem
Copy link
Contributor

@gvanem gvanem commented Jul 15, 2021

Compilng with latest version 10.0 of PellesC gives this error:

tool_cb_see.c(104): error #1050: Redefinition of macro '_lseeki64'.

It's <io.h> defines _lseeki64() as:

#define _lseeki64(h,o,m)  _lseek64(h,o,m)

PellesC' pre-processor seems to have an issue with redefining arguments inside the macro; using (h,o,m)
also works in curl. But a bit more elegant IMHO just to #undef and redefine.

@gvanem gvanem merged commit bc035f5 into master Jul 16, 2021
46 of 58 checks passed
46 of 58 checks passed
@github-actions
fuzzing
Details
@github-actions
hyper
Details
@github-actions
codeql
Details
@github-actions
normal
Details
@github-actions
debug
Details
@github-actions
libssh2
Details
@github-actions
c-ares
Details
@github-actions
HTTP only
Details
@github-actions
SecureTransport http2 SecureTransport http2
Details
@github-actions
OpenSSL http2
Details
@github-actions
LibreSSL http2
Details
@github-actions
torture torture
Details
@github-actions
torture-ftp torture-ftp
Details
@github-actions
macOS 10.15
Details
@github-actions
cmake clang OpenSSL
Details
@github-actions
cmake clang LibreSSL
Details
@github-actions
cmake clang libssh2
Details
@github-actions
cmake gcc-9 OpenSSL
Details
@github-actions
cmake gcc-9 LibreSSL
Details
@github-actions
cmake gcc-9 libssh2
Details
@cirrus-ci
FreeBSD 11.4 Task Summary
Details
@cirrus-ci
FreeBSD 12.2 Task Summary
Details
@appveyor
continuous-integration/appveyor/pr AppVeyor build failed
Details
@azure-pipelines
curl.curl Build #20210715.3 had test failures
Details
@azure-pipelines
curl.curl (windows windows msys1_mingw64_debug) windows windows msys1_mingw64_debug failed
Details
@azure-pipelines
curl.curl (windows windows msys1_mingw_debug) windows windows msys1_mingw_debug failed
Details
@azure-pipelines
curl.curl (windows windows msys1_mingw_debug_schannel) windows windows msys1_mingw_debug_schannel failed
Details
@azure-pipelines
curl.curl (linux ubuntu torture) linux ubuntu torture was canceled
Details
@deepcode-ci-bot
deepcode-ci-bot DeepCode is checking for issues.
@github-code-scanning
CodeQL 1 analysis not found
Details
@lgtm-com
LGTM analysis: Python No code changes detected
Details
@lgtm-com
LGTM analysis: C/C++ No new or fixed alerts
Details
@cirrus-ci
Windows 32-bit shared/release Schannel/SSPI/WinIDN/libssh2 Task Summary
Details
@cirrus-ci
Windows 32-bit static/release Schannel/SSPI/WinIDN/libssh2 Task Summary
Details
@cirrus-ci
Windows 64-bit shared/release Schannel/SSPI/WinIDN/libssh2 Task Summary
Details
@cirrus-ci
Windows 64-bit static/release Schannel/SSPI/WinIDN/libssh2 Task Summary
Details
@circleci-checks
arm-openssl Workflow: arm-openssl
Details
@bagder
buildbot/curl-unthreaded-solaris10-i386 Build done.
Details
@bagder
buildbot/curl-unthreaded-solaris10-sparc Build done.
Details
@mback2k
buildbot/curl_winssl_cross_x64 Build done.
Details
@mback2k
buildbot/curl_winssl_cross_x64_dbg Build done.
Details
@mback2k
buildbot/curl_winssl_cross_x86 Build done.
Details
@mback2k
buildbot/curl_winssl_cross_x86_dbg Build done.
Details
@azure-pipelines
curl.curl (linux ubuntu default) linux ubuntu default succeeded
Details
@azure-pipelines
curl.curl (linux ubuntu disable_http_smtp_imap) linux ubuntu disable_http_smtp_imap succeeded
Details
@azure-pipelines
curl.curl (linux ubuntu disable_ipv6) linux ubuntu disable_ipv6 succeeded
Details
@azure-pipelines
curl.curl (linux ubuntu disable_thredres) linux ubuntu disable_thredres succeeded
Details
@azure-pipelines
curl.curl (linux ubuntu https_only) linux ubuntu https_only succeeded
Details
@azure-pipelines
curl.curl (windows windows msys1_mingw32_debug) windows windows msys1_mingw32_debug succeeded
Details
@azure-pipelines
curl.curl (windows windows msys1_mingw32_debug_schannel) windows windows msys1_mingw32_debug_schannel succeeded
Details
@azure-pipelines
curl.curl (windows windows msys1_mingw64_debug_schannel) windows windows msys1_mingw64_debug_schannel succeeded
Details
@azure-pipelines
curl.curl (windows windows msys2_mingw32_debug_openssl) windows windows msys2_mingw32_debug_openssl succeeded
Details
@azure-pipelines
curl.curl (windows windows msys2_mingw32_debug_schannel) windows windows msys2_mingw32_debug_schannel succeeded
Details
@azure-pipelines
curl.curl (windows windows msys2_mingw64_debug_openssl) windows windows msys2_mingw64_debug_openssl succeeded
Details
@azure-pipelines
curl.curl (windows windows msys2_mingw64_debug_schannel) windows windows msys2_mingw64_debug_schannel succeeded
Details
@vexxhost-ci
curl/check Summary
Details
@sonatype-lift
lift Complete (3 min, 6/6 checks) no new bugs found
Details
@circleci-checks
x86-openssl Workflow: x86-openssl
Details
@jay jay deleted the PellesC-lseeki64 branch Jul 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant