[Tinymux] Build problem - Visual Studio 2005 AMD64
Sean Hunter
downloadcom at dagnabit.org
Thu May 12 16:21:28 EDT 2005
After fixing a small issue with the compiler in player.cpp (Line 319 -
strchr((char*)szSetting+1, '$'); instead of strchr(szSetting+1, '$');
since it complains about converting const char* to char*) it compiles
fine, but when ran it has some issues. The issue is that it'll fail an
asert in timloc64.c (microsoft code, unavailable) about 3 times before
entering main(). The text of the asert is:
File: loctime64.c
Line: 80
Expression: ( ( *ptime >= 0 ) && ( *ptime <= _MAX__TIME64_T ) )
If I have the debugger retry, it'll stop execution in time.inl at:
_CRT_INSECURE_DEPRECATE static __inline struct tm * __CRTDECL
localtime(const time_t * _Time)
{
#pragma warning( push )
#pragma warning( disable : 4996 )
Stops here--> return _localtime64(_Time);
#pragma warning( pop )
}
And _Time will have the value 0x0012fe20 or -62155741625
If ignored 2 more times, it'll display the normal command line options
help and exit.
The code is compiling for x86, AFAIK, and I don't trust my x86 version
of XP installed to test compiling on there, but will do if you think
it's necessary.
Any other information you need? I've generally traced the problem to the
timeutil code I think, and it would make sense.
This isn't really a major problem, since the majority of people using
TinyMUX won't be compiling it under VS2005 on WinXP 64-bit, but I'm
curious if you know what's wrong/how to fix it so I can play with the
code more on my computer instead of using my FreeBSD box.
Thanks,
-- Sean Hunter
More information about the Tinymux
mailing list