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

typecheck-gcc: add support for CURLINFO_OFF_T #1592

Closed
wants to merge 1 commit into from

Conversation

MarcelRaad
Copy link
Member

typecheck-gcc expected curl_socket_t instead of curl_off_t arguments
for CURLINFO_OFF_T. Detected by test1521, unfortunately only when run
locally.

@MarcelRaad
Copy link
Member Author

The problem is that the GCC-release combination of the travis build runs on OSX. The default GCC is 4.2.1 there, which is not supported by typecheck-gcc.h. Maybe it could be changed to use gcc-4.8 instead, or the Linux GCC build switched to release mode and the OSX GCC build to debug mode?

@bagder
Copy link
Member

bagder commented Jun 19, 2017

Maybe it could be changed to use gcc-4.8 instead

I think it is possible. My googling found this example of someone doing it.

or the Linux GCC build switched to release mode and the OSX GCC build to debug mode?

They could indeed, or we could also just add a build if we need to! It's just to make a PR with a .travis.yml update to try it out!

@MarcelRaad
Copy link
Member Author

It's just to make a PR with a .travis.yml update to try it out!

Ah, so the changed .travis.yml is immediately used for the PR? That's nice!

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.008%) to 73.801% when pulling 1a0602b on MarcelRaad:typecheck_off_t_info into b778ae4 on curl:master.

@bagder
Copy link
Member

bagder commented Jun 19, 2017

Yes, exactly!

MarcelRaad added a commit to MarcelRaad/curl that referenced this pull request Jun 20, 2017
typecheck-gcc expected curl_socket_t instead of curl_off_t arguments
for CURLINFO_OFF_T. Detected by test1521, unfortunately only when run
locally.

Closes curl#1592
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 73.793% when pulling cab32a4 on MarcelRaad:typecheck_off_t_info into 0feb762 on curl:master.

typecheck-gcc expected curl_socket_t instead of curl_off_t arguments
for CURLINFO_OFF_T. Detected by test1521, unfortunately only when run
locally.

Closes curl#1592
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 73.801% when pulling 01d9670 on MarcelRaad:typecheck_off_t_info into 651e04c on curl:master.

@MarcelRaad MarcelRaad deleted the typecheck_off_t_info branch June 21, 2017 10:26
@MarcelRaad
Copy link
Member Author

Thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants