Bug #14340 source distribution obviously incorrect
Submitted: 26 Oct 2005 17:40 Modified: 26 Oct 2005 18:32
Reporter: Dave Dyer Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0.15 OS:Windows (win2k)
Assigned to: MySQL Verification Team CPU Architecture:Any

[26 Oct 2005 17:40] Dave Dyer
Description:
the source distributed in mysql-5.0.15-win-src.zip
is obviously incorrect - I had to make ad hoc corrections
in serveral project components to get "mysqld" and "libmysqld"
to compile.  Not a big deal probably, but I can't be sure that
my corrections to the projects were the same as the developers
actually intended.   The corrections involved adding/removing
references to "ha_archive.cpp" and "sql_cursor.cpp"

Also, there were a distressing number of compiler warnings
when compiling some of the subprojects.

How to repeat:
extract the distribution, compile in a virgin environment with msvd 6.0

Suggested fix:
distribute the correct project file.
[26 Oct 2005 18:32] MySQL Verification Team
For several technical reasons the compiler VC++ 6.0 isn't more supported,
for to compile the source without those issues you need to use the
VS 2003 compiler as recommended in our Manual:

http://dev.mysql.com/doc/refman/5.0/en/windows-vc-plus-plus-build.html

Thank you for the bug report.
[26 Oct 2005 19:50] Dave Dyer
if they don't work and are not supported, you should stop
distributing the dsw/dsp files.

My other comment, re: alarming number of compiler warnings
remains valid when compiling with vc.net.  They all look superficially
like lint, but it's good to keep the forest clearcut so the trees show up.

With vc.net, "libmysqld" isn't included in the default builds and
"test_libmysqld" does not link (and there is no "debug" branch)
coincidentally, this is the module I'm currently interested in.