<引用>
	
	
				What Ron Natalie said (look out! Microsoft macros everywhere! or, as Dan
 
Quayle would have said, Microsoft macroes everywhere!), plus, try using
 
the qualified id
 
>
 
    Mutex::Mutex()
 
>
 
;-)
 
 
</引用> 
 
这样更糟了...
 
ThreadLibMutex.h:35: error: definition of implicitly-declared 'Mutex::Mutex()'
 
ThreadLibMutex.h:35: error: declaration of 'Mutex::Mutex()' throws different exceptions
 
ThreadLibMutex.h:9: error: than previous declaration 'Mutex::Mutex() throw ()' 
 
第 9 行是 Mutex 类的位置. 另外, 这也不光是用在微软的平台下的, 我正在用 GCC v4.0.3 编译这段代码.
我只是想做一个简单的跨平台包装器 :(, 如果谁感兴趣, 我可以贴出全部代码, 一共只有 49 行.