On Thu, 08 Oct 2009 03:06:49 +0700 Antoine Martin <anto...@nagafix.co.uk> wrote:
> Hi, > > I eventually managed to build TigerVNC with VC++ 9 > Attached are the trivial changes that I had to make. > Can anyone suggest a better way of fixing those compilation errors? > What sort of a patch would be acceptable for merging? > > Mostly, just: > * casts > * afxres.h -> windows.h (and add #define IDC_STATIC -1) > > FYI: I also had to comment out this line in VC's stdio.h: > _Check_return_opt_ _CRT_INSECURE_DEPRECATE(vsnprintf_s) _CRTIMP int > __cdecl vsnprintf(_Out_cap_(_MaxCount) char * _DstBuf, _In_ size_t > _MaxCount, _In_z_ _Printf_format_string_ const char * _Format, va_list > _ArgList); > Which gives me lots of warnings, but at least it builds... > > Now at least I can try to solve my real problems (PasswordFile, etc..) > It looks like you're building a unicode version of the software. The system is not really designed for that, so even if you get it to compile I suspect you'll get subtle and hard to debug problems. (Using LPTSTR would make things compiler both with and without unicode, but it really only hides the problem) Rgds -- Pierre Ossman OpenSource-based Thin Client Technology System Developer Telephone: +46-13-21 46 00 Cendio AB Web: http://www.cendio.com
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference
_______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel