[Pool] CRITICAL _SECTION ambiguous symbol
 
            
            
            
            
                1 Feb
                
                    2008
                
            
            
                1 Feb
                
                '08
                
            
            
            
        
    
                11:07 a.m.
            
        Hello all, I have the following compile error in my project, using the SVN release branch : boost\boost\boost/pool/detail/mutex.hpp(67) : error C2872: 'CRITICAL _SECTION' : ambiguous symbol could be 'C:\Program Files\Microsoft Platform SDK\include\winbase.h(295) : RTL_CRITICAL_SECTION CRITICAL_SECTION' or 'third_party\boost\boost\boost/detail/lwm_win32_cs.hpp(33) : boost::d etail::CRITICAL_SECTION' It can be easly by fixed by adding "::" in front of the CRITICAL_SECTION member definition of the win32_mutex class (see pool/detail/mutex.hpp). But is there any reason not to use boost/detail/lightweight_mutex.hpp in the pool library ? Regards, Samuel
        6482
        
      
          Age (days ago)
        
      
        6482
        
    
          Last active (days ago)
        
        
        
        0 comments
    
    
        
        1 participants
    
    
    
    
    
    
    
    
    participants (1)
- 
                 Samuel Debionne Samuel Debionne