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

Fixing noncompliant longlong #400

Merged
merged 4 commits into from
Jun 22, 2018

Conversation

ethouris
Copy link
Collaborator

The long long type, although supported by most compilers, is not a part of C++98/C++03 standard, together with LL suffix for integer literals and the %ll-based formats. This PR fixes the use of them. The uint64_t and int64_t types continue to be used, but in the form defined by the compiler (e.g. some older Microsoft compilers don't support long long type, but they do support 64-bit type using __int64 extension).

@rndi
Copy link
Collaborator

rndi commented May 29, 2018

If we are removing long long we should probably get rid of unsigned long long too. Note that this is not trivial/innocent change and will require a test cycle before it can be merged.

@rndi
Copy link
Collaborator

rndi commented Jun 1, 2018

What about ULL?

@rndi rndi merged commit a306d36 into Haivision:master Jun 22, 2018
@ethouris ethouris deleted the dev-fix-noncompliant-longlong branch January 23, 2019 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants