Has anyone else noticed this?
With VS .NET 2003, there seems to be an issue in the M portion
of the build that deletes the MInterface.h and MInterface.cpp
files, leaving zero byte files in their place.
I tested this by running the m4.bat script on the command line,
which created the files, and then monitoring the size of the
file manually with DIR. As soon as the M build starts, the two
files get zeroed out. Which causes the entire build to fail.
My manual workaround was to run the command line, copy the .cpp
file to the modules sub-directory and then as soon as the M
section started, re-run the command line to generate the .h
file.
A capture of my command prompt screen looks like:
G:\vs-build\M\extra\scripts>dir ..\..\include\Min*
Volume in drive G is data
Volume Serial Number is 6CC2-CB3C
Directory of G:\vs-build\M\include
2004-09-23 15:16 3,438 MInterface.cpp
2003-10-28 12:07 3,172 MInterface.cpp.m4
2004-09-23 15:16 2,622 MInterface.h
2003-10-28 12:07 2,441 MInterface.h.m4
2001-12-19 07:08 2,057 MInterface.idl.m4
2003-10-13 18:09 3,388 MInterface.mid
6 File(s) 17,118 bytes
0 Dir(s) 6,667,590,144 bytes free
G:\vs-build\M\extra\scripts>dir ..\..\include\Min*
Volume in drive G is data
Volume Serial Number is 6CC2-CB3C
Directory of G:\vs-build\M\include
2004-09-23 15:18 0 MInterface.cpp
2003-10-28 12:07 3,172 MInterface.cpp.m4
2004-09-23 15:18 0 MInterface.h
2003-10-28 12:07 2,441 MInterface.h.m4
2001-12-19 07:08 2,057 MInterface.idl.m4
2003-10-13 18:09 3,388 MInterface.mid
6 File(s) 11,058 bytes
0 Dir(s) 6,672,257,536 bytes free
G:\vs-build\M\extra\scripts>m4.bat g:\vs-build\M\include g:\vs-build\M\include
G:\vs-build\M\extra\scripts>dir ..\..\include\Min*
Volume in drive G is data
Volume Serial Number is 6CC2-CB3C
Directory of G:\vs-build\M\include
2004-09-23 15:18 3,438 MInterface.cpp
2003-10-28 12:07 3,172 MInterface.cpp.m4
2004-09-23 15:18 2,622 MInterface.h
2003-10-28 12:07 2,441 MInterface.h.m4
2001-12-19 07:08 2,057 MInterface.idl.m4
2003-10-13 18:09 3,388 MInterface.mid
6 File(s) 17,118 bytes
0 Dir(s) 6,662,244,864 bytes free
G:\vs-build\M\extra\scripts>
I've said it before and I'll repeat it, I'm not a Win32 guru by
any definition of the word. Help is definitely appreciated.
--
Ed Vazquez
Your brain knows a hell of a lot more about networking than you
do.
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Mahogany-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-users