[Expat-discuss] Compiling using Metaware HighC compiler

JRancier at penntraffic.com JRancier at penntraffic.com
Wed May 30 14:52:13 CEST 2007


Thanks Boris,

I didn't pay attention to the winconfig.h file, but I will.  I did start 
the down the same path, but the compiler is really choking on the syntax. 
I'm using the expat.dsp file with an older version of visual studio, as to 
export an nmake.mak makefile, simply as a starting point.  Here's a 
snippet of the compile errors, this is with expat 2.0, perhaps I should go 
to an older revision:

xmlparse.286:
    xmlparse.obj:
        xmlparse.c:
        expat.mak:
        xmlparse.obj is non-existent.
        xmlparse.a86:
        xmlparse.c:
hcdrv xmlparse.c -c -Iptk:inc/ -Iipinc: -DHAVE_MEMMOVE -I../inc
MetaWare High C Compiler 1.7
Copyright (C) 1983-91 MetaWare Incorporated.  Serial 2-600434.
E "xmlparse.c",L299/C18:
|    A functionality typedef cannot be used in a function definition.
E "xmlparse.c",L300/C18:
|    A functionality typedef cannot be used in a function definition.
E "xmlparse.c",L301/C18:
|    A functionality typedef cannot be used in a function definition.
E "xmlparse.c",L302/C18:
|    A functionality typedef cannot be used in a function definition.
E "xmlparse.c",L310/C18:
|    A functionality typedef cannot be used in a function definition.
E "xmlparse.c",L311/C18:
|    A functionality typedef cannot be used in a function definition.
E "xmlparse.c",L312/C18:
|    A functionality typedef cannot be used in a function definition.
E "xmlparse.c",L313/C18:
|    A functionality typedef cannot be used in a function definition.
E "xmlparse.c",L314/C18:
|    A functionality typedef cannot be used in a function definition.
E "xmlparse.c",L315/C18:
|    A functionality typedef cannot be used in a function definition.
E "xmlparse.c",L316/C18:
|    A functionality typedef cannot be used in a function definition.
E "xmlparse.c",L761/C28:
|    Type `void *' is not assignment compatible with type 
`XML_UnknownEncodingHandler' (at "expat.h",L528/C13).
E "xmlparse.c",L805/C25:
|    Type `void *' is not assignment compatible with type 
`XML_StartElementHandler' (at "expat.h",L252/C14).
E "xmlparse.c",L806/C23:
|    Type `void *' is not assignment compatible with type 
`XML_EndElementHandler' (at "expat.h",L256/C14).
E "xmlparse.c",L807/C26:
|    Type `void *' is not assignment compatible with type 
`XML_CharacterDataHandler' (at "expat.h",L261/C14).
E "xmlparse.c",L808/C34:
|    Type `void *' is not assignment compatible with type 
`XML_ProcessingInstructionHandler' (at "expat.h",L266/C14).
E "xmlparse.c",L809/C20:
|    Type `void *' is not assignment compatible with type 
`XML_CommentHandler' (at "expat.h",L272/C14).
E "xmlparse.c",L810/C30:
|    Type `void *' is not assignment compatible with type 
`XML_StartCdataSectionHandler' (at "expat.h",L275/C14).
E "xmlparse.c",L811/C28:
|    Type `void *' is not assignment compatible with type 
`XML_EndCdataSectionHandler' (at "expat.h",L276/C14).
E "xmlparse.c",L812/C20:
|    Type `void *' is not assignment compatible with type 
`XML_DefaultHandler' (at "expat.h",L291/C14).
E "xmlparse.c",L813/C29:
|    Type `void *' is not assignment compatible with type 
`XML_StartDoctypeDeclHandler' (at "expat.h",L298/C14).
E "xmlparse.c",L814/C27:
|    Type `void *' is not assignment compatible with type 
`XML_EndDoctypeDeclHandler' (at "expat.h",L309/C14).
E "xmlparse.c",L815/C31:
|    Type `void *' is not assignment compatible with type 
`XML_UnparsedEntityDeclHandler' (at "expat.h",L353/C14).
E "xmlparse.c",L816/C25:
|    Type `void *' is not assignment compatible with type 
`XML_NotationDeclHandler' (at "expat.h",L365/C14).
E "xmlparse.c",L817/C31:
|    Type `void *' is not assignment compatible with type 
`XML_StartNamespaceDeclHandler' (at "expat.h",L378/C14).
E "xmlparse.c",L818/C29:
|    Type `void *' is not assignment compatible with type 
`XML_EndNamespaceDeclHandler' (at "expat.h",L383/C14).
E "xmlparse.c",L819/C26:
|    Type `void *' is not assignment compatible with type 
`XML_NotStandaloneHandler' (at "expat.h",L396/C13).
E "xmlparse.c",L820/C30:
|    Type `void *' is not assignment compatible with type 
`XML_ExternalEntityRefHandler' (at "expat.h",L432/C13).
E "xmlparse.c",L822/C26:
|    Type `void *' is not assignment compatible with type 
`XML_SkippedEntityHandler' (at "expat.h",L449/C14).
E "xmlparse.c",L823/C24:
|    Type `void *' is not assignment compatible with type 
`XML_ElementDeclHandler' (at "expat.h",L150/C14).
E "xmlparse.c",L824/C24:
|    Type `void *' is not assignment compatible with type 
`XML_AttlistDeclHandler' (at "expat.h",L166/C14).
E "xmlparse.c",L825/C23:
|    Type `void *' is not assignment compatible with type 
`XML_EntityDeclHandler' (at "expat.h",L329/C14).
E "xmlparse.c",L826/C20:
|    Type `void *' is not assignment compatible with type 
`XML_XmlDeclHandler' (at "expat.h",L186/C14).
E "xmlparse.c",L854/C28:
MetaWare High C Compiler 1.7  29-May-:7 15:32:55   xmlparse.c         Page 
1
 
|    Type `void *' is not assignment compatible with type `void (*)(
        void *)'.
E "xmlparse.c",L1469/C12:



More information about the Expat-discuss mailing list