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

Update adobe::promote to use fixed width types and remove 64bit Win promote warning #96

Closed
wants to merge 1 commit into from

Conversation

tluxon
Copy link
Contributor

@tluxon tluxon commented May 18, 2023

Based on discussion with @sean-parent who said "The code should be written in terms of fixed sized types" and (regarding the warning) "I’m sure the error message is because we had cases of size_t for 32 bits and in the move to 64 bits this broke so we put in the error. Since size_t is not a distinct type this is really just going to generate an error for any 64 bit type on windows. These cases should be removed."

…romote warning.

Based on discussion with sparent who said "The code should be written in terms of fixed sized types" and (regarding the warning) "I’m sure the error message is because we had cases of size_t for 32 bits and in the move to 64 bits this broke so we put in the error. Since size_t is not a distinct type this is really just going to generate an error for any 64 bit type on windows. These cases should be removed."
@sean-parent
Copy link
Member

See PR #98.

@tluxon tluxon closed this May 30, 2023
@tluxon tluxon deleted the tluxon/promote-update branch May 30, 2023 15:40
sean-parent added a commit that referenced this pull request Jun 20, 2023
- Removed the special case to diagnose Windows 64 vs. macOS 32-bit in convert.hpp
Unlike PR Update adobe::promote to use fixed width types and remove 64bit Win promote warning - #96, this doesn't promote char types (the original did not). I'm afraid that would be a breaking change. I promoted all 16 & 32-bit arithmetic types to double to simplify maintenance (convert.hpp).
- Fixed all unit tests on Windows (some sha tests are conditionalized because they contain too long strings).
- Fixed the CI system (thanks to @camino)
- Started working on better VSCode support.
- Updated code for C++17
- Removed deprecated calls
- Fixed compiler warnings
- Removed support for compiling without thread_local variables
- Removed some unnecessary uses of boost
- Added NOMINMAX to Windows builds

---------

Co-authored-by: nickpdemarco <nickpdemarco@gmail.com>
Co-authored-by: Dave Abrahams <dabrahams@adobe.com>
Co-authored-by: David Sankel <dsankel@adobe.com>
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