x


Boo preprocessor directives

In C# one can do the following:

#pragma warning disable 0219
doSomething();
#pragma warning restore 0219

How can i do the same thing in Boo? I have searched quite a bit in google, unity and boo sites but i couldn't find anything.

more ▼

asked Jan 15 '12 at 04:08 PM

Ryndor gravatar image

Ryndor
1 1 1 1

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first
more ▼

answered Jan 26 '12 at 12:55 PM

steinbitglis gravatar image

steinbitglis
279 12 16 19

Thanks for the reply! I have found that entry in the Manual, but it doesn't really help. The example shows only how to check for defined variables. I did some more research and i found out that Boo doesn't support preprocessor directives yet. They may add this feature in the next version.

Jan 26 '12 at 01:15 PM Ryndor

This is a surprise to me. I have written quite powerful macros in boo. It has the power to way beyond its competitors, but it's poorly documented. I also have trouble with unity and the ifdef's.

Feb 21 '12 at 03:08 AM steinbitglis
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x70

asked: Jan 15 '12 at 04:08 PM

Seen: 560 times

Last Updated: Feb 21 '12 at 03:08 AM