Error: function declaration without return type.

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jan 6 13:19:37 PST 2015


Suliman:

> 	void foo()
> 	{
> 	writeln("test");
> 	writeln(mystring);
> 	}
> 	foo();   <<<<<
> }

I guess you have to remove that line.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list