-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Issue#452 #470
Issue#452 #470
Conversation
The CMakeLists.txt was modified because Ubuntu 22.04 version had gcc version 11 which did not have the <format> header and did not compile on my machine so i changed the conditional to allow for it to use the fmt::format library The modification lead to updating the FormatHelper.h header to reflect the changes. in addition The fmt library was also added as dependency to the test target to enable the test compile on my machine Estonia locaction data was added which includes EstoniaAddresses EstoniaCounties EstoniaStreetNames EstoniaStreetSuffixes test was appended to the end of LocationTest using the test for denmark as a template estonia was included in AddressCountry enum finally, The estonia data was gotten from resource available on the internet and google maps so their is no guarantee that all the information are correct as i do not live in estonia.
Hello, good job! Please give a star to the repository to make the project more popular 🔥 |
Please fix failing pipelines |
modified the test case, included the proper headers in location source file modified CMake list by removing the dependency introduced inadverently for g++ version greater than 10 modified the EstoniaStreetNames by removing street suffixes finally corrected error in arguement passed to the estonianadresses object
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think its wrong, msvc and clang supports std::format, you could specify it for some version of clan less than
I think clang and msvc should stay the same |
okay i reverted back to the previos commit |
Try to add more specified checks in format helper like defined(GNUC) && less than 12 |
Looks like in clang and msvc this if resolves to true and it tries to use fmt |
Btw cant you install g++ 13? 😁 |
|
should work 😄 |
looks like clang also defines gnuc |
reason is i would need to use a third party ppa but i am trying to avoid any possible breaks on my OS. in addition , too lazy to manually compile the compiler . i do not understand the error message coming from msvc workflow i have not modified any of those document in this current branch. it could be an old issue |
I know about msvc issue, if clang build will pass I will merge it :) |
Issue is mentioned here: #469 |
The CMakeLists.txt was modified because Ubuntu 22.04 version had gcc version 11 which did not have the header and did not compile on my machine so i changed the conditional to allow for it to use the fmt::format library
The modification lead to updating the FormatHelper.h header to reflect the changes. in addition The fmt library was also added as dependency to the test target to enable the test compile on my machine
Estonia locaction data was added which includes EstoniaAddresses EstoniaCounties EstoniaStreetNames EstoniaStreetSuffixes
Kind regards