1. 25 Nov, 2013 1 commit
    • Chun-wei Fan's avatar
      msvc_recommended_pragmas.h: Treat C4819 warnings as errors · 0dbe5c43
      Chun-wei Fan authored
      Warning C4819 in Visual Studio builds indicates an issue of Visual Studio
      2005 and later running on East Asian locales of Windows, which likely
      results in broken builds of GLib, Pango, GTK+, and possibly other GNOME
      projects such as Cogl and Clutter (and is also an issue when building other
      projects like QT and Firefox).
      
      Treat this warning as an error as a result when building GLib-based items
      on Visual Studio, and tell people how to remedy this issue correctly.
      0dbe5c43
  2. 20 Jun, 2012 1 commit
  3. 08 Mar, 2012 1 commit
    • Chun-wei Fan's avatar
      msvc_recommended_pragmas.h: Silence C4819 warnings · c9f55445
      Chun-wei Fan authored
      This warning appears when unicode chars that cannot be displayed in the
      current Windows code page is used anywhere in the file, including comment
      blocks.  We probably don't need to see these, especially as problems
      caused by such characters are manifested as other warnings or errors,
      for example, the need to add BOM to a file when compiling code with
      complex script on Windows.
      c9f55445
  4. 12 Oct, 2011 1 commit
    • Chun-wei Fan's avatar
      Bug 661438: Update msvc_recommended_pragmas.h · b93d6ab8
      Chun-wei Fan authored
      Don't disable warning C4996 as that is the Visual C++ warning triggered by
      __declspec(deprecated) and __declspec(deprecated('..."))-disabling that
      warning will defeat the purpose of G_DPRECATED/G_DEPRECATED_FOR.
      
      For people who don't want to see the GLib deprecation warnings during GLib
      compilation, define GLIB_DISABLE_DEPRECATION_WARNINGS in the projects or
      property sheet.
      b93d6ab8
  5. 09 Dec, 2007 1 commit
    • Hans Breuer's avatar
      removed -GD to compile with msvc9 (vs2008) with less complains · b877c83c
      Hans Breuer authored
      2007-12-09  Hans Breuer  <hans@breuer.org>
      
      	* **/makefile.msc glib/makefile.msc.in : removed -GD to compile
      	with msvc9 (vs2008) with less complains
      	
      	* glibconfig.h.win32.in : #define G_HAVE_ISO_VARARGS 1 for
      	msv8 (vs2005) and above
      	
      	* glib/gfileutils.c : s/stricmp/_stricmp/
      	* msvc_recommended_pragmas.h : work around Microsoft's premature 
      	attempt to deprecate the C-Library
      
      	* tests/makefile.msc.in : added checksum-test
      
      
      svn path=/trunk/; revision=6076
      b877c83c
  6. 05 Jan, 2002 1 commit
    • Hans Breuer's avatar
      moved warning to error pragmas to their own file to not force 'good · abc754fa
      Hans Breuer authored
      2002-01-05  Hans Breuer  <hans@breuer.org>
      
      	* glibconfig.h.win32.in
      	  msvc_recommended_pragmas.h (new file) : moved warning to
      	error pragmas to their own file to not force 'good practice'
      	programming in downstream libs and apps. Instead the new header
      	will be used by -FImsvc_recommended_pragmas.h in gnome/cvs
      	makefile.msc
      	* */makefile.msc.in : use -FImsvc_recommended_pragmas.h
      abc754fa