fbpx
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Compiler switch -az in source file

Compiler switch -az in source file 1 week 2 days ago #1

  • SHirsch
  • SHirsch's Avatar Topic Author
  • Away
  • Posts: 81
  • Thank you received: 1
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
#pragma compiler enable -az
... code with zero based arrays
#pragma compiler restore -az

Regards,
Stefan

Please Log in or Create an account to join the conversation.

Last edit: by SHirsch.

Compiler switch -az in source file 1 week 2 days ago #2

  • robert
  • robert's Avatar
  • Offline
  • Posts: 798
  • Karma: 6
  • Thank you received: 15
Stefan,

This is still on the todo list

Robert
XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

Compiler switch -az in source file 1 week 2 days ago #3

  • SHirsch
  • SHirsch's Avatar Topic Author
  • Away
  • Posts: 81
  • Thank you received: 1
Hi Robert,

ok, will keep it as separate lib until then.

Regards,
Stefan

Please Log in or Create an account to join the conversation.

  • Page:
  • 1