|
Archives
D Programming
digitalmars.Ddigitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger D.gnu D C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D - new -vtls flag does nothing?
I decided to try out the new shared stuff in 2.030 on OS X, so I ran it against a module I've written using the -vtls flag. Now I *know* there are globals in this module, so I was surprised to see no output. To make doubly sure, I ran 2.030 against the example module given at http://www.digitalmars.com/d/2.0/migrate-to-shared.html with the -vtls flag. No output there either. int x; void main() { static int y; } Is the vtls flag non-functional? Is this an OS X specific issue? Jun 16 2009
Brian Palmer wrote:I decided to try out the new shared stuff in 2.030 on OS X, so I ran it against a module I've written using the -vtls flag. Now I *know* there are globals in this module, so I was surprised to see no output. To make doubly sure, I ran 2.030 against the example module given at http://www.digitalmars.com/d/2.0/migrate-to-shared.html with the -vtls flag. No output there either. int x; void main() { static int y; } Is the vtls flag non-functional? Is this an OS X specific issue? Jun 16 2009
Walter Bright Wrote:I get: dmd test -vtls test.d(2): x is thread local test.d(5): y is thread local Jun 16 2009
Brian Palmer wrote:I'm on OS X Leopard. Jun 16 2009
|