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

Migrated code base to use cstdint #48

Conversation

SeanAlling-DojoFive
Copy link
Contributor

First pass at using standard types. Looking for feedback if this is something we want to pursue and how far to go.

Addressed comments in #25 and #26

@SeanAlling-DojoFive SeanAlling-DojoFive force-pushed the modernization/use-standard-int branch from da88b66 to cead6ba Compare February 14, 2023 07:17
@sierrafoxtrot
Copy link
Owner

sierrafoxtrot commented Feb 14, 2023

I've been both dreading and looking forward to this change. I actually have a very similar looking branch parked ready to rebase after PR #43 but this looks great so far.

I've only done a quick scan so far, but I'm happy with the approach. Keen to make sure we don't cause any drams with doco etc for a couple changes (for example) from %lu to %u. But in principle, I like the more modern types and it can only help with portability. It's going to take a few days to pour through and highlight any discussion points so please bear with me. Keen to get your input too @jtxa.

It's moments like these I'm grateful for a regression test suite!

@sierrafoxtrot sierrafoxtrot self-requested a review February 14, 2023 10:57
@SeanAlling-DojoFive SeanAlling-DojoFive changed the title [WIP] Migrated code base to use cstdint Migrated code base to use cstdint Feb 15, 2023
Copy link
Owner

@sierrafoxtrot sierrafoxtrot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Firstly, my apologies for taking so long to get through this. It is a huge boost for maintainability and modernisation of the codebase. Thank you Sean!

Some minor comments.

srecord/adler16.cc Outdated Show resolved Hide resolved
srecord/adler16.cc Outdated Show resolved Hide resolved
srecord/adler32.cc Outdated Show resolved Hide resolved
srecord/arglex/tool.cc Show resolved Hide resolved
srecord/record.cc Outdated Show resolved Hide resolved
srecord/record.cc Outdated Show resolved Hide resolved
@SeanAlling-DojoFive SeanAlling-DojoFive force-pushed the modernization/use-standard-int branch from a959e37 to f25f2fd Compare March 8, 2023 04:23
@sierrafoxtrot sierrafoxtrot merged commit dc5d568 into sierrafoxtrot:master Mar 8, 2023
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