-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Switch to exception checks - v2 #2376
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
Conversation
|
One drawback here. Imagine the following setup: This will blow up when that external library uses glog's check macros in a way that our overrides don't support (e.g., This can also happen when colmap is installed as a library and other code uses glog. The v1 version of your PR added more code but does not have that problem? |
|
As opposed to the previous PR, this one actually retains the syntax of glog by only overriding the internals. So
|
|
If option (2) is possible, then that sounds great to me and nobody sees unexpected behavior when using glog macros? |
|
Done, PTAL. |
|
Great, thanks! |
cc @Phil26AT