www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Weird thing related to stdio.

reply "Agustin" <agustin.l.alvarez hotmail.com> writes:
My code contains zero console write call, and when i add 
std.stdio in a specific module i get some text about the classes 
i defined using mixin.

If i add std.stdio here: http://pastebin.com/3kRQEvpu i get 
"3org.ghrum.protocol.message.stream.MessageStream3org.ghrum.protocol.message.stream.MessageStream3org.ghrum.protocol.message.stream.MessageStream3org.ghrum.protocol.message.stream.MessageStream3org.ghrum.protocol.message.stream.MessageStream50org.ghrum.protocol.message.stream.MessageStream70org.ghrum.protocol.message.stream.MessageStream"

Classes: http://pastebin.com/CCRp872R
Functions: http://pastebin.com/K2dtSAtL
Oct 23 2013
parent reply "Agustin" <agustin.l.alvarez hotmail.com> writes:
On Thursday, 24 October 2013 at 02:18:29 UTC, Agustin wrote:
 My code contains zero console write call, and when i add 
 std.stdio in a specific module i get some text about the 
 classes i defined using mixin.

 If i add std.stdio here: http://pastebin.com/3kRQEvpu i get 
 "3org.ghrum.protocol.message.stream.MessageStream3org.ghrum.protocol.message.stream.MessageStream3org.ghrum.protocol.message.stream.MessageStream3org.ghrum.protocol.message.stream.MessageStream3org.ghrum.protocol.message.stream.MessageStream50org.ghrum.protocol.message.stream.MessageStream70org.ghrum.protocol.message.stream.MessageStream"

 Classes: http://pastebin.com/CCRp872R
 Functions: http://pastebin.com/K2dtSAtL
Forgot to mention that the message is printed on the console when i execute "pPlayerMoveCodec.write(pMessageStream, pPlayerMoveMessage);"
Oct 23 2013
parent "Agustin" <agustin.l.alvarez hotmail.com> writes:
On Thursday, 24 October 2013 at 02:20:39 UTC, Agustin wrote:
 On Thursday, 24 October 2013 at 02:18:29 UTC, Agustin wrote:
 My code contains zero console write call, and when i add 
 std.stdio in a specific module i get some text about the 
 classes i defined using mixin.

 If i add std.stdio here: http://pastebin.com/3kRQEvpu i get 
 "3org.ghrum.protocol.message.stream.MessageStream3org.ghrum.protocol.message.stream.MessageStream3org.ghrum.protocol.message.stream.MessageStream3org.ghrum.protocol.message.stream.MessageStream3org.ghrum.protocol.message.stream.MessageStream50org.ghrum.protocol.message.stream.MessageStream70org.ghrum.protocol.message.stream.MessageStream"

 Classes: http://pastebin.com/CCRp872R
 Functions: http://pastebin.com/K2dtSAtL
Forgot to mention that the message is printed on the console when i execute "pPlayerMoveCodec.write(pMessageStream, pPlayerMoveMessage);"
Also if i add std.stdio, io fails for some weird reason :/
Oct 23 2013