I have a version-dependent code. How to `ifdef icarus 11 versus 12? #1013
Unanswered
yuri-panchul
asked this question in
Q&A
Replies: 2 comments
-
There is no pre-defined macro for this. You can add a |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you want something more automated the code does know the version information so you could call the compiler to get the version information and after some processing pass this using defines like Martin mentioned. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a version-dependent code. How to `ifdef icarus 11 versus 12?
Beta Was this translation helpful? Give feedback.
All reactions