CrowCpp / Crow

A Fast and Easy to use microframework for the web.
https://crowcpp.org
Other
3.3k stars 364 forks source link

Headers have a lot of shadowing of variables. #919

Open mjmessina opened 1 month ago

mjmessina commented 1 month ago

Headers have a lot of shadowing of variables.

Would be nice if you cleaned up some of the shadowing. if you compile with -Wshadow you can see all the warnings. Our projects compile with warnings as errors. To get around it:

pragma GCC diagnostic ignored "-Wshadow"

include "crow.h"

pragma GCC diagnostic pop