Synopsis - Issue Tracker

Bug128 Editing

Title __time64_t breaks parsing in MSVC environment
Created on 2007-02-15.03:20:00 by david, last changed 2007-02-15.03:25:21 by stefan.
assigned to priority normal
type crash severity normal
components Cpp parser platform Windows
status new resolution
depends on superseded by
Add Comment:
File
CC List:? david

Messages
Author: david Date: 2007-02-15.03:19:58
typedef __time64_t time_t; makes the parser crash.  I need to investigate more on what happens in the library as this token makes synopsis crash on an uninitialized string.
In the platform SDK, __time64_t is typedefed as:

#ifndef _TIME64_T_DEFINED
#if     _INTEGRAL_MAX_BITS >= 64
typedef __int64 __time64_t;     /* 64-bit time value */
#endif
#define _TIME64_T_DEFINED
#endif

Which would suggest 64 bit support.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_time.asp

speaks about windows only compatibility.
Author: stefan Date: 2007-02-15.03:25:20
The Lexer knows the '__int64' token (Token::INT64),
which gets special treatment by the Parser. There
may be a bug hidden that never got exposed due to
MSVC being not frequently used with Synopsis thus
far.
History
Date User Action Args
2007-02-15 03:20:04davidcreate
2007-02-15 03:25:22stefansetmessages: + msg612