digitalmars.D.learn - Weird thing related to stdio.
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
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/K2dtSAtLForgot to mention that the message is printed on the console when i execute "pPlayerMoveCodec.write(pMessageStream, pPlayerMoveMessage);"
Oct 23 2013
On Thursday, 24 October 2013 at 02:20:39 UTC, Agustin wrote:On Thursday, 24 October 2013 at 02:18:29 UTC, Agustin wrote:Also if i add std.stdio, io fails for some weird reason :/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/K2dtSAtLForgot to mention that the message is printed on the console when i execute "pPlayerMoveCodec.write(pMessageStream, pPlayerMoveMessage);"
Oct 23 2013