Bill-Gray / find_orb

Orbit determination from observations
https://www.projectpluto.com/find_orb.htm
GNU General Public License v2.0
97 stars 45 forks source link

Fix cpp preprocessor short circuit compatibility issue #31

Closed NicolePV closed 3 years ago

NicolePV commented 3 years ago

Hello, Tried to make find_orb and had a small glitch because of short circuited notation in preprocessor macros. With this small change the build completed successfully. Thanks for the package!

Bill-Gray commented 3 years ago

Well, that's interesting... thank you; I've similar code in other packages, probably causing trouble for gcc-4.8 users. It's not an issue on later versions of gcc, nor on clang or MinGW or MSVC, which is why I didn't know about it.

gcc-4.8 is still getting use here and there; I'm a little surprised not to have heard before about this. I'm quite confident it's been causing people trouble.