There is a problem with shlobjidl.h, in that gcc complains with:

C:\MinGW64\mingw\include/shobjidl.h:800:3: warning: 'typedef' was
ignored in this declaration

Due to:

  typedef enum tagSHCONTF {
    SHCONTF_FOLDERS = 0x0020,SHCONTF_NONFOLDERS =
0x0040,SHCONTF_INCLUDEHIDDEN = 0x0080,SHCONTF_INIT_ON_FIRST_NEXT =
0x0100,
    SHCONTF_NETPRINTERSRCH = 0x0200,SHCONTF_SHAREABLE =
0x0400,SHCONTF_STORAGE = 0x0800
  };
  typedef DWORD SHCONTF;

This patch corrects the issue (based on MSDN -
http://msdn.microsoft.com/en-us/library/bb762539(VS.85).aspx):

$ diff -u shobjidl.h.orig shobjidl.h
--- shobjidl.h.orig     2010-09-15 23:28:35 -0400
+++ shobjidl.h  2010-09-15 23:31:37 -0400
@@ -797,8 +797,7 @@
   typedef enum tagSHCONTF {
     SHCONTF_FOLDERS = 0x0020,SHCONTF_NONFOLDERS =
0x0040,SHCONTF_INCLUDEHIDDEN = 0x0080,SHCONTF_INIT_ON_FIRST_NEXT =
0x0100,
     SHCONTF_NETPRINTERSRCH = 0x0200,SHCONTF_SHAREABLE =
0x0400,SHCONTF_STORAGE = 0x0800
-  };
-  typedef DWORD SHCONTF;
+  } SHCONTF;

 #define SHCIDS_ALLFIELDS 0x80000000L
 #define SHCIDS_CANONICALONLY 0x10000000L

Cheers!

Chris

-- 
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to