Problem building SWTSnippets with D 2.074.x

Mike James via Digitalmars-d-dwt digitalmars-d-dwt at puremagic.com
Fri Jun 2 00:25:17 PDT 2017


Hi,

I get the following errors when trying to build the swtsnippets 
with the latest SWT...

PS C:\d\gui\dwt> rdmd build swtsnippets
(in C:\d\gui\dwt)
Building swtsnippets[Snippet10]
dmd.exe @C:\d\gui\dwt\rsp
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(84): 
Error: basic type expected, not class
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(84): 
Error: { members } expected for anonymous class
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(84): 
Error: found 'class' when expecting ';' following state
ment
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(85): 
Error: found '{' when expecting ';' following statement
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(86): 
Error: found 'public' instead of statement
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(89): 
Error: function declaration without return type. (Note
that constructors are always named 'this')
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(89): 
Error: no identifier for declarator frame.addListener(S
WT.Resize, listener)
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(90): 
Error: function declaration without return type. (Note
that constructors are always named 'this')
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(90): 
Error: no identifier for declarator frame.addListener(S
WT.Move, listener)
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(91): 
Error: function declaration without return type. (Note
that constructors are always named 'this')
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(91): 
Error: no identifier for declarator addListener(SWT.Dis
pose, listener)
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(92): 
Error: function declaration without return type. (Note
that constructors are always named 'this')
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(92): 
Error: no identifier for declarator addListener(SWT.Foc
usIn, listener)
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(93): 
Error: function declaration without return type. (Note
that constructors are always named 'this')
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(93): 
Error: no identifier for declarator addListener(SWT.Foc
usOut, listener)
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(94): 
Error: function declaration without return type. (Note
that constructors are always named 'this')
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(94): 
Error: no identifier for declarator addListener(SWT.Pai
nt, listener)
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(95): 
Error: function declaration without return type. (Note
that constructors are always named 'this')
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(95): 
Error: no identifier for declarator addListener(SWT.Tra
verse, listener)
C:\d\gui\dwt\imp\org\eclipse\swt\ole\win32\OleClientSite.di(96): 
Error: function declaration without return type. (Note
that constructors are always named 'this')

object.Exception at build.d(375): compile error
----------------
0x00406C4F
0x004084CF
0x004049CC
0x004207E3
0x004207A7
0x004206A8
0x0041828B
0x74378744 in BaseThreadInitThunk
0x7773587D in RtlGetAppContainerNamedObjectPath
0x7773584D in RtlGetAppContainerNamedObjectPath
PS C:\d\gui\dwt> SampleNoiseMeasureSampleNoiseMeasure


Regards, Mike.


More information about the Digitalmars-d-dwt mailing list