- User Since
- Apr 9 2020, 6:36 PM (62 w, 3 d)
I am assuming that f18 will have a MAJOR version number matching the LLVM release? Does classic flang do that as well? Both compilers will probably co-exist for a while and it would be desirable to make them distinguishable to build systems as CMake.
I don't have a solution, but maybe we need to #define __CLASSIC_FLANG in classic flang. I am just throwing out ideas.
I agree with this idea, and if we went this route we could get rid of the duplicate code between __F18_MAJOR and __FLANG_MAJOR (and the others) included in this patch. We would have to coordinate with the Classic Flang developers to make it happen, though, and I'm not sure if they are aware of the discussion happening here.