Compiler switch -az in source file
Posted: Wed Feb 13, 2019 7:23 am
Hi,
I have a lib that has compiler switch -az set (use zero based arrays).
Now I would like to import the source files of this lib into a another lib. But there -az is not set.
Is it somehow possible to set compiler switches for files or parts of code?
Something like this
Regards,
Stefan
I have a lib that has compiler switch -az set (use zero based arrays).
Now I would like to import the source files of this lib into a another lib. But there -az is not set.
Is it somehow possible to set compiler switches for files or parts of code?
Something like this
Code: Select all
#pragma compiler enable -az
... code with zero based arrays
#pragma compiler restore -az
Stefan