★ wanayoo — archive 1999 https://github.com/etr/libhttpserver/pull/205Nouvelle recherche | Portail wanayoo
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 configure and bootstrap, fix compiler warnings in http_endpoin… #205

Merged
merged 2 commits into from Aug 8, 2020

Conversation

@beneschtech
Copy link
Contributor

@beneschtech beneschtech commented Aug 8, 2020

Issue or RFC Endorsed by Maintainers

None

Description of the Change

Updated some of the build scripts to be more portable and to build on FreeBSD.
Fixed a few compiler warnings
Added OS specific readmes for applicable issues to help users

Alternate Designs

Possible Drawbacks

Potentially break other platforms

Verification Process

Built on FreeBSD 12, Fedora 32, CentOS 7, and Mingw64 (Windows 10)

Release Notes

Added OS specific tips, and cleaned up some compiler warnings

@codecov
Copy link

@codecov codecov bot commented Aug 8, 2020

Codecov Report

Merging #205 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #205   +/-   ##
=======================================
  Coverage   95.63%   95.63%           
=======================================
  Files          35       35           
  Lines        3230     3230           
=======================================
  Hits         3089     3089           
  Misses        141      141           
Impacted Files Coverage Δ
src/httpserver/deferred_response.hpp 100.00% <100.00%> (ø)
src/httpserver/details/http_endpoint.hpp 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3fa034c...df24e2b. Read the comment docs.

{
return family_url;
}

const bool is_regex_compiled() const
const bool is_regex_compiled()

This comment has been minimized.

@etr

etr Aug 8, 2020
Owner

what was the issue with the is_family_url and is_regex_compiled methods being const?

@beneschtech
Copy link
Contributor Author

@beneschtech beneschtech commented Aug 8, 2020

@etr
Copy link
Owner

@etr etr commented Aug 8, 2020

Got it. I think the real issue is the "const bool" (which makes no sense).

Does using "bool is_regex_compiled() const" cause you any warning?

Effectively we want the method to be declared as not modifying the object so I am not sure what the warning against that is.

@beneschtech
Copy link
Contributor Author

@beneschtech beneschtech commented Aug 8, 2020

@etr
Copy link
Owner

@etr etr commented Aug 8, 2020

Thanks!
All travis/appveyor tests are passing and all looks good. Thanks a lot for the help.

@etr etr merged commit 6ede3c9 into etr:master Aug 8, 2020
4 checks passed
4 checks passed
Codacy/PR Quality Review Up to standards. A positive pull request.
Details
codecov/patch 100.00% of diff hit (target 95.63%)
Details
codecov/project 95.63% (+0.00%) compared to 3fa034c
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
beneschtech added 2 commits Aug 8, 2020
…t and deferred_response, add OS specific readme for commonly seen issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.