Re: [ tidy-Patches-1551769 ] memory mapping on win32
"Geoff Air" <[email protected]> Thu, 05 Oct 2006 15:04:00 +0000
| Newsgroups | gmane.comp.web.html-tidy.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Arnaud,
re: tidydll.dsp
Thanks for the tidydll.dsp cvs update. It now loads
fine into MSVC 6, 7.1, and 8 ;=))
Of course, in MSVC8 Express, even after adding the now
'mandatory' ;_CRT_SECURE_NO_DEPRECATE, which stops some
'depreciation' warnings, there are still some big ugly
warnings like -
<ms8-warning>
..\..\src\config.c(689) : warning C4996: '_access' was declared deprecated
c:\Program Files\Microsoft Visual Studio 8\VC\include\io.h(193) :
see declaration of '_access'
Message: 'The POSIX name for this item is deprecated. Instead, use
the ISO C++ conformant name: _access. See online help for details.'
</ms8-warning>
But these are to be expected as MS tries to push
its own personal agenda with regard to 'standards' ...
and can only be removed by adding -
#pragma warning(disable:4996) /* depreciated - eg _access versus access */
to the code, but it presently ONLY applies to
MSVC8 Express ... and may 'evaporate' as the product
matures ... WE HOPE ;=))
MSVC7.1 build is clean, except for a minor link warning -
<ms7-warning>
LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO'
specification
</ms7-warning>
This can be removed by changing the MSVC7.1 Properties -
Linker -> Enable Incremental Linking from 'No', to
'Default' or 'Yes' ... so the control is in the user
hands already ...
But the warning I wanted to remove from MSVC6 by -
+#pragma warning(disable:4115) /* named type definition in parentheses */
is, in full -
<ms6-warning>
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\rpcasync.h(45) :
warning C4115: '_RPC_ASYNC_STATE' : named type definition in parentheses
</ms6-warning>
Since this is in a MS 'standard' header, rpcasync.h,
of that epoch, VC98, sucked in by some other
'standard' header when including <windows.h>,
it only applies when using MSVC6 (circa 1998) ...
which is why I folded it into -
+#if _MSC_VER < 1300 /* less than msvc++ 7.0 */
As stated, it is only a warning, and only if the 1998
compiler and headers are used, so is not sooo important ...
The MSVC builds are back to being (relatively) clean
and painless ;=)) thanks again ...
Regards,
Geoff.
EOF - Tidy-50.doc
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV