I'm Trying to include supernovas into a cmake project (minimum 3.8) gcc 9.4.0. However in novas.h line 1331, you've called a variable the same as the struct name which produces a compiliation error.
novas.h:1331:12: error: declaration of ‘observer <unnamed struct>::observer’ changes meaning of ‘observer’ [-fpermissive]
from line:
https://github.com/Smithsonian/SuperNOVAS/blob/68f79642100972a4f19ef45cb9e79b181e8e4850/include/novas.h#L1331
how do you compile this, as I cannot be the first to have come across this issue.
I'm Trying to include supernovas into a cmake project (minimum 3.8) gcc 9.4.0. However in novas.h line 1331, you've called a variable the same as the struct name which produces a compiliation error.
novas.h:1331:12: error: declaration of ‘observer <unnamed struct>::observer’ changes meaning of ‘observer’ [-fpermissive]from line:
https://github.com/Smithsonian/SuperNOVAS/blob/68f79642100972a4f19ef45cb9e79b181e8e4850/include/novas.h#L1331
how do you compile this, as I cannot be the first to have come across this issue.