-
Notifications
You must be signed in to change notification settings - Fork 390
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
Begin removing objexx gio #7668
Conversation
- Note that the original code was incorrect, 20 formatted parameters but only 19 passed in. - New code does not have a trailing `,` now Re: @Myoldmopar
This is a very exciting step. There does appear to be at least one file with diffs, with the EIO diffs being due to padding in numerical representation of some floating points. There are also a number of unit test failures that are likely due to similar changes. Fixing these should help define the types of changes we see from the change to fmt. I have no issues with the approach you are using for the OutputFiles as an intermediate step toward a utopian future with fewer globals. Let me know if you need anything as you get this in shape to be merged. |
@Myoldmopar I'm going to have to investigate these failures, as I just ran the entire test suite on my system and had 0 failures. I'll get back to you. |
Ahh, forgot to push latest commits. Sorry! |
@Myoldmopar |
@lefticus Custom check is complaining about the license year on the two new source files. I can update those if needed but I don't want to stomp on your commits if you are already doing other stuff. |
@Myoldmopar I'll get it |
Wow those diffs are so close to being eliminated. One is just a whitespace diff and one is just the padding on the scientific notation exponent. I'm inclined to try it's equivalent anyway, but since I think it would just take a super minor tweak I guess we might as well get it to fully no diffs. |
I'll fix the whitespace, not sure how that one sneaked in, but you're keeping that missing 0 in the exponent. |
@lefticus a branch was just merged that introduced a few diffs so I quickly pulled develop into this branch. Hopefully it caught it in time so CI won't waste an extra set of cycles. If it did, oh well. |
@Myoldmopar quick merge it merge it! |
@Myoldmopar IMO a squash merge is appropriate. |
Yep, this is a great push in the right direction. I think we can handle that one diff 🤣 Thanks @lefticus! |
@Myoldmopar @lefticus Having trouble building unit tests on Win VS2019.
Tried deleting the build folder and a fresh build but still getting this error. |
@Myoldmopar @lefticus Found the problem. |
Pull request overview
Begins process of moving to a modern approach to formatting IO with using libfmt and reducing the number of globals.
This is an intermediate step with proof of concept and mixed global file handle / io stream.
The bulk of this change set is the inclusion of libfmt source .
NOTE: ENHANCEMENTS MUST FOLLOW A SUBMISSION PROCESS INCLUDING A FEATURE PROPOSAL AND DESIGN DOCUMENT PRIOR TO SUBMITTING CODE
Pull Request Author
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
Reviewer
This will not be exhaustively relevant to every PR.