Re: Has anyone bootstrapped GOBO CVS using VS.NET 2005?

Frederic Merizen <[email protected]>
Newsgroups gmane.comp.lang.eiffel.gobo.general
Organization LORIA
Message-ID <[email protected]>
Hello list !

On Thursday 23 February 2006 12:39, Eric Bezault wrote:
> grantrettke wrote:
> > I'm running Windows XP and VS.NET 2005. Checked out GOBO CVS
> > tonight, dropped to dos, and ran vcvars32.bat. Ran boostrap msc ise
> > and it failed. Can't find inttypes.h. I'm not familiar with MS C. Any
> > ideas on getting this built?
>
> It works fine with me with  VS.NET 2003. I don't have VS.NET 2005
> but after some investigation I think I found the problem. These
> C files used in Gobo's bootstrap have been generated with SmartEiffel
> and it seems that there is a bug in SE's C code generation. In
> the .h files we can read:
>
> #if defined(_MSC_VER) && (_MSC_VER < 1400) /* MSVC older than v8 */
>
> but your bug report seems to imply that it should actually be:
>
> #if defined(_MSC_VER) /* MSVC */

Actually that code is included but that's not important. What's funny is that 
I fixed that test in SmartEiffel just days ago. You may also want to add the 
following code at the beginning of the .h files to avoid being flooded with 
obnoxious warnings from cl

#if defined(_MSC_VER) && (_MSC_VER >= 1400)       // VC8+
# ifndef _CRT_SECURE_NO_DEPRECATE
#  define _CRT_SECURE_NO_DEPRECATE
# endif
# ifndef _CRT_NONSTDC_NO_DEPRECATE
#  define _CRT_NONSTDC_NO_DEPRECATE
# endif
#endif   // VC8+

Good luck
-- 
Frederic Merizen


To Post a message, send it to:   [email protected]
To Unsubscribe, send a blank message to: [email protected] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/gobo-eiffel/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.