<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19019">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>I had been using taglib 1.7 with this environment on 
Windows, but when I upgraded to the master, I started receiving the 
following link error:<BR>MSVCRTD.lib(wcrtexe.obj) : error LNK2005: _NtCurrentTeb 
already defined</FONT></DIV>
<DIV><FONT size=2><BR>As it turns out, this was a result of the code in 
~/taglib.git/taglib/toolkits/taglib.h commited at hash 223b85d345d4c0 - Use GCC 
automic builtins where possible.</FONT></DIV>
<DIV><FONT size=2>When the code is removed, the build works correctly. 
</FONT><FONT size=2>Not being sure of the intent of the commit, I was hoping 
someone could verify it.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Patch:</DIV>
<DIV><BR>diff --git a/taglib/toolkit/taglib.h b/taglib/toolkit/taglib.h<BR>index 
e941ca7..3e437ce 100755<BR>--- a/taglib/toolkit/taglib.h<BR>+++ 
b/taglib/toolkit/taglib.h<BR>@@ -44,25 +44,6 @@<BR> <BR> #include 
<string><BR> <BR>-#ifdef __APPLE__<BR>-#  include 
<libkern/OSAtomic.h><BR>-#  define TAGLIB_ATOMIC_MAC<BR>-#elif 
defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || 
defined(__CYGWIN__)<BR>-#  if !defined(NOMINMAX)<BR>-#    
define NOMINMAX<BR>-#  endif<BR>-#  include 
<windows.h><BR>-#  define TAGLIB_ATOMIC_WIN<BR>-#elif defined 
(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ >= 
401)    \<BR>-      && 
(defined(__i386__) || defined(__i486__) || defined(__i586__) || 
\<BR>-          defined(__i686__) 
|| defined(__x86_64) || defined(__ia64)) \<BR>-      
&& !defined(__INTEL_COMPILER)<BR>-#  define 
TAGLIB_ATOMIC_GCC<BR>-#elif defined(__ia64) && 
defined(__INTEL_COMPILER)<BR>-#  include <ia64intrin.h><BR>-#  
define TAGLIB_ATOMIC_GCC<BR>-#endif<BR>-<BR> //! A namespace for all TagLib 
related classes and functions<BR> <BR> /*!<BR></DIV></FONT>
<DIV><FONT size=2>Thanks in advance,</FONT></DIV>
<DIV><FONT size=2>Mike</DIV></FONT></BODY></HTML>