State of Mango

Paulo Pinto pjmlp at progtools.org
Sat Feb 25 23:06:17 PST 2012


Am 26.02.2012 00:19, schrieb Adam D. Ruppe:
> On Saturday, 25 February 2012 at 23:07:18 UTC, Paulo Pinto wrote:
>> Thanks. They don't seem to compile with the latest D version.
>
> What error did you get? (and which file?)

Hi Adam,

I am compiling on Windows with the latest versions (DMD 2.058 and HEAD 
from your stuff)

This is what I've tried just before posting my previous message.

PS D:\d\workspace\gallery\src> dmd .\cgi.d
.\cgi.d(34): basic type expected, not (
.\cgi.d(34): found 'ubyte' when expecting ')'
.\cgi.d(34): no identifier for declarator int[]
.\cgi.d(34): semicolon expected to close declaration, not ')'
.\cgi.d(34): found ')' instead of statement
.\cgi.d(35): basic type expected, not (
.\cgi.d(35): found 'ubyte' when expecting ')'
.\cgi.d(35): no identifier for declarator int[]
.\cgi.d(35): semicolon expected to close declaration, not ')'
.\cgi.d(35): found ')' instead of statement
.\cgi.d(49): identifier expected, not template
.\cgi.d(49): found '(' when expecting ';' following template mixin
.\cgi.d(49): Declaration expected, not ')'
.\cgi.d(55): unrecognized declaration

The line 34 is a simple expression,

const(ubyte[]) d = cast(const(ubyte[])) data;

I will research this better today, as I am not sure if I am doing this 
the right way.

-
Paulo


More information about the Digitalmars-d mailing list