View previous topic :: View next topic |
Author |
Message |
jicman
Joined: 22 Dec 2004 Posts: 298 Location: Rochester, NY
|
|
Back to top |
|
|
csauls
Joined: 27 Mar 2004 Posts: 278
|
Posted: Tue Jan 09, 2007 10:15 pm Post subject: |
|
|
One quirk I have found out on my own which you may check in your code, is that Build expects an explicitly private import for the auto-build-number module. Aka, for any module 'foo' you must 'private import foo_bn;' to get it's auto_build_number.
On a side note, I think Build's generation of this file needs a couple of perks. Perk 1 -- make the value a constant, rather than just a global variable. Perk 2 -- A Build pragma() for suppressing build number incrementing (required before its host import). _________________ Chris Nicholson-Sauls |
|
Back to top |
|
|
jicman
Joined: 22 Dec 2004 Posts: 298 Location: Rochester, NY
|
Posted: Tue Jan 09, 2007 10:50 pm Post subject: |
|
|
Well, those perks wouldn't help me now...
But thanks for the help. That private keyword fixed the problem. But, here is a question, I thought that this statement,
import foo;
is converted by the compiler to,
private import foo;
if I am not mistaken, I remember a discussion on the newsgroup about this. Am I correct or way off base?
By the way, I have been way off base before...
Thanks for the help, Chris. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|