Your last changes aren't compiling!

> john Sun Apr 11 23:14:19 2004 EDT
>
>   Modified files:
>     /php-src/ext/tidy php_tidy.h tidy.c
>   Log:
>   - Removed things related to attribute classes / consts which no
>     longer exist in Tidy
>   - Changed protos in comment blocks to studlyCaps
>   - Fixed problem where Tidy would throw exceptions if called from
>     a procedural context. Tidy will now cause E_ERRORs if called from
>     procedural form.


Compile log:
http://snaps.php.net/win32/snapshot.log

c:\php4build\snap>NMAKE /I /nologo "php_tidy.dll"
        "cl.exe" /I "..\php_build\include\libtidy"  /D COMPILE_DL_TIDY /D
TIDY_EXPORTS=1 /nologo /YX /FD /I . /I main /I regex /I Zend /I TSRM /D
_WINDOWS /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS /LD /MD /W3 /Ox /D
NDebug /D NDEBUG /D ZEND_WIN32_FORCE_INLINE /GB /GF /D ZEND_DEBUG=0 /D ZTS=1
/I "..\php_build\include"  /D LIBXML_THREAD_ENABLED /FoRelease_TS\ext\tidy\
/FdRelease_TS\ext\tidy\ /FpRelease_TS\ext\tidy\ /FRRelease_TS\ext\tidy\ -c
ext\tidy\tidy.c
tidy.c
..\php_build\include\libtidy\platform.h(473) : warning C4005: 'strcasecmp' :
macro redefinition
        Zend\zend_config.w32.h(61) : see previous definition of 'strcasecmp'
ext\tidy\tidy.c(821) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(821) : error C2065: 'obj' : undeclared identifier
ext\tidy\tidy.c(821) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(826) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1040) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1040) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1042) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1051) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1051) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1053) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1053) : warning C4133: 'function' : incompatible types -
from 'struct _TidyBuffer *' to 'struct _TidyDoc *'
ext\tidy\tidy.c(1053) : error C2198: 'tidySaveBuffer' : too few actual
parameters
ext\tidy\tidy.c(1101) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1101) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1103) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1103) : error C2198: 'tidyCleanAndRepair' : too few actual
parameters
ext\tidy\tidy.c(1104) : warning C4047: 'function' : 'struct _PHPTidyObj *'
differs in levels of indirection from 'int '
ext\tidy\tidy.c(1104) : warning C4024: 'tidy_doc_update_properties' :
different types for formal and actual parameter 1
ext\tidy\tidy.c(1132) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1132) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1134) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1134) : error C2198: 'tidyRunDiagnostics' : too few actual
parameters
ext\tidy\tidy.c(1135) : warning C4047: 'function' : 'struct _PHPTidyObj *'
differs in levels of indirection from 'int '
ext\tidy\tidy.c(1135) : warning C4024: 'tidy_doc_update_properties' :
different types for formal and actual parameter 1
ext\tidy\tidy.c(1164) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1164) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1166) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1166) : error C2198: 'tidyGetOptionList' : too few actual
parameters
ext\tidy\tidy.c(1171) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1171) : warning C4047: 'function' : 'struct _TidyDoc *'
differs in levels of indirection from 'struct _TidyIterator ** '
ext\tidy\tidy.c(1171) : warning C4024: 'tidyGetNextOption' : different types
for formal and actual parameter 1
ext\tidy\tidy.c(1171) : error C2198: 'tidyGetNextOption' : too few actual
parameters
ext\tidy\tidy.c(1174) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1174) : warning C4133: 'function' : incompatible types -
from 'struct _TidyOption *' to 'struct _PHPTidyDoc *'
ext\tidy\tidy.c(1174) : warning C4133: 'function' : incompatible types -
from 'int *' to 'struct _TidyOption *'
ext\tidy\tidy.c(1174) : warning C4047: 'function' : 'int *' differs in
levels of indirection from 'void ***  '
ext\tidy\tidy.c(1174) : warning C4024: 'php_tidy_get_opt_val' : different
types for formal and actual parameter 3
ext\tidy\tidy.c(1174) : error C2198: 'php_tidy_get_opt_val' : too few actual
parameters
ext\tidy\tidy.c(1198) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1198) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1200) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1200) : error C2198: 'tidyStatus' : too few actual
parameters
ext\tidy\tidy.c(1208) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1208) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1210) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1210) : error C2198: 'tidyDetectedHtmlVersion' : too few
actual parameters
ext\tidy\tidy.c(1218) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1218) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1220) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1220) : error C2198: 'tidyDetectedXhtml' : too few actual
parameters
ext\tidy\tidy.c(1228) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1228) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1230) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1230) : error C2198: 'tidyDetectedGenericXml' : too few
actual parameters
ext\tidy\tidy.c(1238) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1238) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1240) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1240) : error C2198: 'tidyErrorCount' : too few actual
parameters
ext\tidy\tidy.c(1248) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1248) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1250) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1250) : error C2198: 'tidyWarningCount' : too few actual
parameters
ext\tidy\tidy.c(1258) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1258) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1260) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1260) : error C2198: 'tidyAccessWarningCount' : too few
actual parameters
ext\tidy\tidy.c(1268) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1268) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1270) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1270) : error C2198: 'tidyConfigErrorCount' : too few actual
parameters
ext\tidy\tidy.c(1280) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1281) : error C2143: syntax error : missing ';' before
'type'
ext\tidy\tidy.c(1282) : error C2143: syntax error : missing ';' before
'type'
ext\tidy\tidy.c(1283) : error C2143: syntax error : missing ';' before
'type'
ext\tidy\tidy.c(1284) : error C2275: 'TidyOption' : illegal use of this type
as an expression
        ..\php_build\include\libtidy\tidy.h(92) : see declaration of
'TidyOption'
ext\tidy\tidy.c(1284) : error C2146: syntax error : missing ';' before
identifier 'opt'
ext\tidy\tidy.c(1284) : error C2065: 'opt' : undeclared identifier
ext\tidy\tidy.c(1285) : error C2275: 'TidyOptionType' : illegal use of this
type as an expression
        ..\php_build\include\libtidy\tidyenum.h(206) : see declaration of
'TidyOptionType'
ext\tidy\tidy.c(1285) : error C2146: syntax error : missing ';' before
identifier 'optt'
ext\tidy\tidy.c(1285) : error C2065: 'optt' : undeclared identifier
ext\tidy\tidy.c(1288) : error C2065: 'optname' : undeclared identifier
ext\tidy\tidy.c(1288) : error C2065: 'optname_len' : undeclared identifier
ext\tidy\tidy.c(1297) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1299) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1299) : warning C4047: 'function' : 'struct _TidyDoc *'
differs in levels of indirection from 'int '
ext\tidy\tidy.c(1299) : warning C4024: 'tidyGetOptionByName' : different
types for formal and actual parameter 1
ext\tidy\tidy.c(1299) : error C2198: 'tidyGetOptionByName' : too few actual
parameters
ext\tidy\tidy.c(1299) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _TidyOption *'
ext\tidy\tidy.c(1305) : error C2065: 'optval' : undeclared identifier
ext\tidy\tidy.c(1305) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1305) : warning C4047: 'function' : 'struct _PHPTidyDoc *'
differs in levels of indirection from 'int '
ext\tidy\tidy.c(1305) : warning C4024: 'php_tidy_get_opt_val' : different
types for formal and actual parameter 1
ext\tidy\tidy.c(1305) : warning C4133: 'function' : incompatible types -
from 'int *' to 'struct _TidyOption *'
ext\tidy\tidy.c(1305) : warning C4047: 'function' : 'int *' differs in
levels of indirection from 'void ***  '
ext\tidy\tidy.c(1305) : warning C4024: 'php_tidy_get_opt_val' : different
types for formal and actual parameter 3
ext\tidy\tidy.c(1305) : error C2198: 'php_tidy_get_opt_val' : too few actual
parameters
ext\tidy\tidy.c(1305) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'void *'
ext\tidy\tidy.c(1342) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1349) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1356) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1356) : warning C4133: 'function' : incompatible types -
from 'struct _hashtable *' to 'struct _TidyDoc *'
ext\tidy\tidy.c(1356) : warning C4047: 'function' : 'struct _hashtable *'
differs in levels of indirection from 'void ***  '
ext\tidy\tidy.c(1356) : warning C4024: '_php_tidy_apply_config_array' :
different types for formal and actual parameter 2
ext\tidy\tidy.c(1356) : error C2198: '_php_tidy_apply_config_array' : too
few actual parameters
ext\tidy\tidy.c(1356) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1356) : warning C4133: 'function' : incompatible types -
from 'char *' to 'struct _TidyDoc *'
ext\tidy\tidy.c(1356) : error C2198: 'tidyLoadConfig' : too few actual
parameters
ext\tidy\tidy.c(1358) : warning C4047: 'function' : 'struct _PHPTidyObj *'
differs in levels of indirection from 'int '
ext\tidy\tidy.c(1358) : warning C4024: 'php_tidy_parse_string' : different
types for formal and actual parameter 1
ext\tidy\tidy.c(1466) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1466) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1468) : error C2223: left of '->node' must point to
struct/union
ext\tidy\tidy.c(1468) : error C2198: 'tidyGetChild' : too few actual
parameters
ext\tidy\tidy.c(1480) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1480) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1482) : error C2223: left of '->node' must point to
struct/union
ext\tidy\tidy.c(1482) : error C2198: 'tidyGetNext' : too few actual
parameters
ext\tidy\tidy.c(1494) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1494) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1496) : error C2223: left of '->node' must point to
struct/union
ext\tidy\tidy.c(1496) : error C2198: 'tidyNodeGetType' : too few actual
parameters
ext\tidy\tidy.c(1508) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1508) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1510) : error C2223: left of '->node' must point to
struct/union
ext\tidy\tidy.c(1510) : error C2198: 'tidyNodeGetType' : too few actual
parameters
ext\tidy\tidy.c(1522) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1522) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1524) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1524) : error C2198: 'tidyDetectedXhtml' : too few actual
parameters
ext\tidy\tidy.c(1536) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1536) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1538) : error C2223: left of '->ptdoc' must point to
struct/union
ext\tidy\tidy.c(1538) : error C2198: 'tidyDetectedGenericXml' : too few
actual parameters
ext\tidy\tidy.c(1550) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1550) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1552) : error C2223: left of '->node' must point to
struct/union
ext\tidy\tidy.c(1552) : error C2198: 'tidyNodeGetType' : too few actual
parameters
ext\tidy\tidy.c(1564) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1564) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1566) : error C2223: left of '->node' must point to
struct/union
ext\tidy\tidy.c(1566) : error C2198: 'tidyNodeGetType' : too few actual
parameters
ext\tidy\tidy.c(1578) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1578) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1580) : error C2223: left of '->node' must point to
struct/union
ext\tidy\tidy.c(1580) : error C2198: 'tidyNodeGetType' : too few actual
parameters
ext\tidy\tidy.c(1592) : error C2275: 'PHPTidyObj' : illegal use of this type
as an expression
        ext\tidy\tidy.c(164) : see declaration of 'PHPTidyObj'
ext\tidy\tidy.c(1592) : warning C4047: '=' : 'int ' differs in levels of
indirection from 'struct _PHPTidyObj *'
ext\tidy\tidy.c(1594) : error C2223: left of '->node' must point to
struct/union
ext\tidy\tidy.c(1594) : error C2198: 'tidyNodeGetType' : too few actual
parameters
        rc /fo Release_TS\php_tidy.dll.res /d FILE_DESCRIPTION="\"tidy\"" /d
FILE_NAME="\"php_tidy.dll\"" /d PRODUCT_NAME="\"PHP php_tidy.dll\"" /d
THANKS_GUYS="\"Thanks to John Coggeshall, Ilia Alshanetsky\""
win32\build\template.rc
        "link.exe" /out:Release_TS\php_tidy.dll /dll /nologo /version:5.0.0
/libpath:"..\php_build\lib" /libpath:"..\php_build\lib"
Release_TS\ext\tidy\tidy.obj Release_TS\php5ts.lib libtidy.lib kernel32.lib
ole32.lib user32.lib advapi32.lib shell32.lib ws2_32.lib resolv.lib
Release_TS\php_tidy.dll.res
LINK : fatal error LNK1181: cannot open input file
"Release_TS\ext\tidy\tidy.obj"
EXT tidy build complete



And just one more thing: can anybody update the version of libtidy of the
build machine, please? I've already contacted the system guys, but no
answer... The current lib is 8 months old and doesn't have all functions
implemented and so some tidy functions don't work!!!


Nuno

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to