The MASM Forum

Projects => MASM32 => Topic started by: jj2007 on February 03, 2017, 04:02:23 AM

Title: wdm.inc chokes
Post by: jj2007 on February 03, 2017, 04:02:23 AM
Code: [Select]
include \masm32\include\masm32rt.inc
include \masm32\include\wdm.inc

.code
start:
  print "Hello World"
  exit

end start
::)

Code: [Select]
\masm32\include\wdm.inc(390) : error A2111: conflicting parameter definition
\masm32\include\wdm.inc(390) : error A2112: PROC and prototype calling conventions conflict
\masm32\include\wdm.inc(392) : error A2111: conflicting parameter definition
\masm32\include\wdm.inc(392) : error A2112: PROC and prototype calling conventions conflict
\masm32\include\wdm.inc(395) : error A2111: conflicting parameter definition
\masm32\include\wdm.inc(395) : error A2112: PROC and prototype calling conventions conflict
\masm32\include\wdm.inc(407) : error A2008: syntax error : PROTO
 strcat(17): Macro Called From
  \masm32\include\wdm.inc(407): Include File
Title: Re: wdm.inc chokes
Post by: Vortex on February 03, 2017, 05:10:32 AM
Hi Jochen,

Some conflicting functions :

Code: [Select]
masm32.inc :

atol PROTO :DWORD

islower  PROTO :BYTE

isupper  PROTO :BYTE

wdm.inc :

atol PROTO C :VARARG

islower PROTO C :VARARG

isupper PROTO C :VARARG
Title: Re: wdm.inc chokes
Post by: jj2007 on February 03, 2017, 07:59:25 AM
Yep 8)