Author Topic: wdm.inc chokes  (Read 455 times)

jj2007

  • Member
  • *****
  • Posts: 7558
  • Assembler is fun ;-)
    • MasmBasic
wdm.inc chokes
« 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

Vortex

  • Member
  • *****
  • Posts: 1704
Re: wdm.inc chokes
« Reply #1 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

jj2007

  • Member
  • *****
  • Posts: 7558
  • Assembler is fun ;-)
    • MasmBasic
Re: wdm.inc chokes
« Reply #2 on: February 03, 2017, 07:59:25 AM »
Yep 8)