MSVC pedantry - compiler warning
"Geoff Air" <[email protected]> Sun, 29 Jan 2006 02:52:27 +1100
| Newsgroups | gmane.comp.web.html-tidy.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Arnaud, With the recent change from 'uint mode' to 'GetTokenMode mode', a good change!, MSVC7.1 issues many WARNINGs like - c:\GTools\tidyproj\tidynew\src\parser.c(2622) : warning C4028: formal parameter 3 different from declaration even on all those in parser.c that have 'uint ARG_UNUSED(mode)' Of course, ARG_UNUSED does nothing in the MSVC compiler, par the define #define ARG_UNUSED(x) x but the unused parameter warning is shut down by - #pragma warning( disable : 4100 ) /* unreferenced formal parameter */ also in platform.h Here is a patch to 'fix' the rest - https://sourceforge.net/tracker/index.php?func=detail&aid=1417439&group_id=27659&atid=390965 Regards, Geoff. EOF _________________________________________________________________ Buy now @ Tradingpost.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fad%2Eau%2Edoubleclick%2Enet%2Fclk%3B24875379%3B12369854%3Ba%3Fhttp%3A%2F%2Fwww%2Etradingpost%2Ecom%2Eau%3Freferrer%3DnmsnHMetagv1&_t=752643439&_r=hotmailtagline&_m=EXT ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642