Hi,

On Thu, Feb 26, 2015 at 09:29:59PM +0300, Vladislav Ivanov wrote:
> Windows.h is included by boost/thread, hence the conflict can be avoided by 
> defining NOGDI and NORESOURCE before including the thread library. It is 
> probably also possible to define these macros in some top-level file, but I'm 
> not sure if it's safe enough.

Merged with minor comment additions, thanks!

I closed bug #517 and added some more info there in case similar issues
will resurface again later on.

Maybe someone should report this windows.h namespace pollution issue to
Boost, they have code to prevent similar issues in some of their
headers, apparently.

 
Uwe.
-- 
http://hermann-uwe.de | http://randomprojects.org | http://sigrok.org

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to