Diff for /embedaddon/smartmontools/os_win32/wmiquery.h between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 16:32:16 version 1.1.1.2, 2012/10/09 09:36:45
Line 28 Line 28
   
 #include <string>  #include <string>
   
#if !defined(__GNUC__) && !defined(__attribute__)#ifndef __GNUC__
#define __attribute__(x)  /**/#define __attribute_format_printf(x, y)  /**/
 #elif defined(__MINGW32__) && __USE_MINGW_ANSI_STDIO
 // Check format of __mingw_*printf() instead of MSVCRT.DLL:*printf()
 #define __attribute_format_printf(x, y)  __attribute__((format (gnu_printf, x, y)))
 #else
 #define __attribute_format_printf(x, y)  __attribute__((format (printf, x, y)))
 #endif  #endif
   
 /////////////////////////////////////////////////////////////////////////////  /////////////////////////////////////////////////////////////////////////////
Line 171  class wbem_services (public) Line 176  class wbem_services (public)
   
   /// Version of vquery() with printf() formatting.    /// Version of vquery() with printf() formatting.
   bool query(wbem_enumerator & result, const char * qstr, ...) /*const*/    bool query(wbem_enumerator & result, const char * qstr, ...) /*const*/
       __attribute__ ((format (printf, 3, 4)));       __attribute_format_printf(3, 4);
   
   /// Version of vquery1() with printf() formatting.    /// Version of vquery1() with printf() formatting.
   bool query1(wbem_object & obj, const char * qstr, ...) /*const*/    bool query1(wbem_object & obj, const char * qstr, ...) /*const*/
       __attribute__ ((format (printf, 3, 4)));       __attribute_format_printf(3, 4);
   
 private:  private:
   com_intf_ptr<IWbemServices> m_intf;    com_intf_ptr<IWbemServices> m_intf;

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>