-
Notifications
You must be signed in to change notification settings - Fork 10
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
enable more warnings/make them errors per mapbox/cpp#37 #14
Conversation
All done on the "enabling more warnings" side here. Now over to you @artemp, to decide how to fix the new warnings that have come up. |
@springmeyer - all warnings fixed but g++ doesn't understand some compile flags, so over back to you :) |
@artemp thank you - curious, why are some things throwing with |
@springmeyer - yes, those structures are helpers allowing incomplete implementations (not all possible permutations of geometry types). This is intentional design feature to keep binary size under control. I'll take a look again to see if this mechanism can be implemented through meta-programming (compile time). |
Okay, good to know @artemp - this would be great to document. How about you add a mention to the readme about this in |
@artemp okay, I pushed a fix to this branch so that we no longer apply - include_directories("${PROJECT_SOURCE_DIR}/include")
+ include_directories(SYSTEM "${PROJECT_SOURCE_DIR}/include/boost")
+ include_directories("${PROJECT_SOURCE_DIR}/include/mapbox") Or we could fix the warnings. I noticed you've already modified the files inside |
@springmeyer - on my TODO list |
Changes look great - thanks @artemp 🙌 |
Adding more default warnings (and making warnings errors) per mapbox/cpp#37