Skip to content

Update configure and bootstrap, fix compiler warnings in http_endpoin…#205

Merged
etr merged 2 commits intoetr:masterfrom
beneschtech:master
Aug 8, 2020
Merged

Update configure and bootstrap, fix compiler warnings in http_endpoin…#205
etr merged 2 commits intoetr:masterfrom
beneschtech:master

Conversation

@beneschtech
Copy link
Copy Markdown
Contributor

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
Copy Markdown

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.

}

const bool is_regex_compiled() const
const bool is_regex_compiled()
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

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

@beneschtech
Copy link
Copy Markdown
Contributor Author

beneschtech commented Aug 8, 2020 via email

@etr
Copy link
Copy Markdown
Owner

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
Copy Markdown
Contributor Author

beneschtech commented Aug 8, 2020 via email

@etr
Copy link
Copy Markdown
Owner

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
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