View previous topic :: View next topic |
Author |
Message |
kris
Joined: 27 Mar 2004 Posts: 1494 Location: South Pacific
|
Posted: Sun May 15, 2005 5:45 pm Post subject: do 'debug' statements confuse Build? |
|
|
Working with Ares, I stumbled over something that may or may not be an issue ~ a statement of the following form includes the import regardless of the 'debug' state:
Code: | debug private import x.y.z; |
Does Build always include imports for version() statements too, or is that different? (I just need to get it straight in my head). |
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Sun May 15, 2005 6:19 pm Post subject: Re: do 'debug' statements confuse Build? |
|
|
kris wrote: | Working with Ares, I stumbled over something that may or may not be an issue ~ a statement of the following form includes the import regardless of the 'debug' state:
Code: | debug private import x.y.z; |
Does Build always include imports for version() statements too, or is that different? (I just need to get it straight in my head). |
I'm not really treating debug correctly. The version statement is mostly being correctly treated.
So for now you could code this as
Code: | version(mydebug) private import x.y.z; | and compile it with
Code: | build -version=mydebug ... |
I don't handle the form
Code: | version( <integer> ) |
at all.
I'll fix these ASAP. _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
kris
Joined: 27 Mar 2004 Posts: 1494 Location: South Pacific
|
Posted: Sun May 15, 2005 6:49 pm Post subject: |
|
|
Thanks, Derek. |
|
Back to top |
|
|
randomZ
Joined: 04 Dec 2004 Posts: 31 Location: Tuebingen, Germany
|
Posted: Sat May 21, 2005 6:12 am Post subject: |
|
|
This is probably related: Including a "-debug=ident" option on the command line or in a brf causes build to crash with an access violation. |
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Sat May 21, 2005 11:30 pm Post subject: |
|
|
randomZ wrote: | This is probably related: Including a "-debug=ident" option on the command line or in a brf causes build to crash with an access violation. |
I doubt it. I suspect that by using this debug value, you are compiling in code that is faulty. I don' t think that this is a Build issue.
If you still think that this ia problem with Build, please send me a source file that causes the effect. _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
randomZ
Joined: 04 Dec 2004 Posts: 31 Location: Tuebingen, Germany
|
Posted: Sun May 22, 2005 3:00 am Post subject: |
|
|
Now I'm confused.
It *did* crash yesterday. Now it stopped doing it.
I guess I should be happy that it doesn't do it anymore... You were probably right, it was my own code that did it.
I love build, BTW! |
|
Back to top |
|
|
|