When using VC2008 compile 2.9.0, I got those typical warnings and errors based on previous VC6 files: warning C4996: 'fdopen': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _fdopen. See online help for details. warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. error C2365: 'OPT_buffer___' : redefinition; previous definition was 'enumerator' c:\vc6sdcc\support\cpp\options.h(20) : see declaration of 'OPT_buffer___' error C2086: 'opt_code OPT_buffer___' : redefinition c:\vc6sdcc\support\cpp\options.h(23) : see declaration of 'OPT_buffer___' ..\support\Util\MySystem.c(163) : warning C4133: 'function' : incompatible types - from 'char [2048]' to 'LPCWSTR'
I am glad as long as MinGW works. It is really too much efforts to support multi platform applications. Woody http://palmmicro.com/woody/ ----- Original Message ----- From: "Borut Razem" <borut.ra...@siol.net> To: <sdcc-user@lists.sourceforge.net> Sent: Wednesday, November 24, 2010 3:47 AM Subject: Re: [Sdcc-user] The Journey to SDCC 3.0.0 > On 11/23/2010 12:44 AM, Lin Rongrong wrote: >> As I had tried VC2008 to compile 2.9.0 and failed, I started to learn >> other ways to compile SDCC on my Windows Vista. > > What exactly went wrong? > >> At first I installed Cygwin, after several hours I got error messages >> like "gcc options -mno-cygwin not used any more". I realized that Cygwin >> compile was discarded the same way as MSVC. The only way is to use >> MinGW on >> Linux now. > > Cygwin contains both gcc-3 (the good old version with -mno-cygwin) and > gcc-4. You probably installed gcc-4. You can also install both versions > and switch between then using set-gcc-default-3.sh and > set-gcc-default-4.sh commands. > > Borut > > ------------------------------------------------------------------------------ > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > _______________________________________________ > Sdcc-user mailing list > Sdcc-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sdcc-user ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user