|
From: | HIEU THAO |
Subject: | Problems when compiles CommonC++-1.9.7 under VC98. |
Date: | Wed, 27 Mar 2002 14:04:59 +0700 |
Hi all
I build CommonC++-1.9.7 with Visual C 6.0 Service
Pack 5 then reported compiler following:
-------------------Configuration: CCXX - Win32
libxml2--------------------
Compiling... url.cpp E:\TEMP\CommonC++-1.9.7\src\url.h(48) : fatal error C1083: Cannot open include file: 'sys/ioctl.h': No such file or directory xml.cpp D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(295) : warning C4200: nonstandard extension used : zero-sized array in struct/union D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(352) : warning C4200: nonstandard extension used : zero-sized array in struct/union D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(383) : warning C4200: nonstandard extension used : zero-sized array in struct/union D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(431) : warning C4200: nonstandard extension used : zero-sized array in struct/union D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(432) : warning C4200: nonstandard extension used : zero-sized array in struct/union D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(433) : warning C4200: nonstandard extension used : zero-sized array in struct/union D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(434) : warning C4200: nonstandard extension used : zero-sized array in struct/union D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(435) : warning C4200: nonstandard extension used : zero-sized array in struct/union D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(519) : warning C4200: nonstandard extension used : zero-sized array in struct/union D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(564) : warning C4200: nonstandard extension used : zero-sized array in struct/union D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(616) : error C2146: syntax error : missing ';' before identifier 'Address' D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(616) : error C2501: 'ADDRESS' : missing storage-class or type specifiers D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(616) : error C2501: 'Address' : missing storage-class or type specifiers D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(617) : error C2065: 'MAX_NAME_SIZE' : undeclared identifier D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(617) : error C2057: expected constant _expression_ D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(617) : warning C4200: nonstandard extension used : zero-sized array in struct/union D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(618) : error C2229: struct '_ADDRESSINFO' has an illegal zero-sized array D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\bhtypes.h(631) : warning C4200: nonstandard extension used : zero-sized array in struct/union D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\frame.h(29) : warning C4200: nonstandard extension used : zero-sized array in struct/union D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\frame.h(56) : warning C4200: nonstandard extension used : zero-sized array in struct/union D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\frame.h(57) : warning C4200: nonstandard extension used : zero-sized array in struct/union D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\frame.h(89) : warning C4200: nonstandard extension used : zero-sized array in struct/union E:\TEMP\CommonC++-1.9.7\src\xml.cpp(55) : fatal error C1083: Cannot open include file: 'parserInternals.h': No such file or directory Generating Code... Error executing cl.exe. CCGNU32v2.dll - 8 error(s), 16
warning(s)
The inline code at url.h
....
ifndef CCXX_CONFIG_H_
#include <cc++/config.h> #endif #include <net/if.h> #include <sys/ioctl.h> ....
Please help me, thank
you.
|
[Prev in Thread] | Current Thread | [Next in Thread] |