CWUTIL.INC gives me compile errors


#1

Hi,

When I add CWUTIL.INC in to the global map of my program I am getting 3000 error when I am compiling the program. I Use INCLUDE(‘CWUTIL.INC’),ONCE

Using C11

Thanks


#2

Are you sure the include statement is inside your Map?
What are the first couple of errors?


#3

Hi Rick,

These errors:

C:\Clarion11\libsrc\win\CWUTIL.INC(1,3) : Error : Expected: ; CODE INCLUDE OMIT SECTION COMPILE PRAGMA GROUP ITEMIZE MAP
C:\Clarion11\libsrc\win\CWUTIL.INC(3,5) : Error : Illegal data type: OSVERSION
C:\Clarion11\libsrc\win\CWUTIL.INC(3,18) : Error : Unknown attribute: STRING
C:\Clarion11\libsrc\win\CWUTIL.INC(4,24) : Error : Expected: ( ) [ , &= { @ .
C:\Clarion11\libsrc\win\CWUTIL.INC(4,5) : Error : Illegal data type: FILEEXISTS
C:\Clarion11\libsrc\win\CWUTIL.INC(4,33) : Error : Unknown attribute: BYTE
C:\Clarion11\libsrc\win\CWUTIL.INC(5,26) : Error : Expected: ( ) [ , &= { @ .
C:\Clarion11\libsrc\win\CWUTIL.INC(5,5) : Error : Illegal data type: WINDOWEXISTS
C:\Clarion11\libsrc\win\CWUTIL.INC(5,37) : Error : Unknown attribute: BYTE
C:\Clarion11\libsrc\win\CWUTIL.INC(6,25) : Error : Expected: ( ) [ , &= { @ .


#4

That definitely looks like the include is not inside your MAP.


#5

Thanks,

Found it :slight_smile: