Dear all,
   I have noticed today that FlsAlloc/GetValue/SetValue/Free APIs are not 
declared in MinGW-w64 headers if I define _WIN32_WINNT as 0x0502. According to 
Microsoft SDK documentation these APIs should be available since WIndows Server 
2003. Is this a bug in MinGW-w64?

----- test.cpp built with mingw-w64 gcc(i686-win32-sjlj-rev2 / 
x86_64-win32-seh-rev2, both FAILED):
E:\Desktop>g++ test.cpp
test.cpp: In function 'int main()':
test.cpp:6:2: error: '::FlsAlloc' has not been declared
  ::FlsAlloc(0);

----- test.cpp built with Microsoft CL (PASSED):
E:\Desktop>cl test.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

test.cpp
Microsoft (R) Incremental Linker Version 9.00.21022.08
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:test.exe
test.obj

--------------
Best regards,
lh_mouse
2014-06-09

Attachment: test.cpp
Description: Binary data

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to