Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Problem with Core/Mt.h Mutex and RWMutex
Problem with Core/Mt.h Mutex and RWMutex [message #20670] Mon, 30 March 2009 23:32 Go to previous message
koldo is currently offline  koldo
Messages: 3435
Registered: August 2008
Senior Veteran
Hello all

When compiling an application with MSC9 I have got these three warnings:

c:\desarrollo\upp\uppsrc\core\Mt.h(317) : warning C4099: 'Upp::Mutex::Lock' : type name first seen using 'struct' now seen using 'class'
        c:\desarrollo\upp\uppsrc\core\Mt.h(209) : see declaration of 'Upp::Mutex::Lock'
c:\desarrollo\upp\uppsrc\core\Mt.h(325) : warning C4099: 'Upp::RWMutex::ReadLock' : type name first seen using 'struct' now seen using 'class'
        c:\desarrollo\upp\uppsrc\core\Mt.h(229) : see declaration of 'Upp::RWMutex::ReadLock'
c:\desarrollo\upp\uppsrc\core\Mt.h(333) : warning C4099: 'Upp::RWMutex::WriteLock' : type name first seen using 'struct' now seen using 'class'
        c:\desarrollo\upp\uppsrc\core\Mt.h(230) : see declaration of 'Upp::RWMutex::WriteLock'


The problem is fixed by changing "struct" by "class" in Mt.h class Mutex member Lock and in class RWMutex members ReadLock and WriteLock.

Best regards
Koldo


Best regards
IƱaki
 
Read Message
Read Message
Previous Topic: C++ libraries
Next Topic: Proposal on *Index: access via hash value
Goto Forum:
  


Current Time: Sat May 10 04:53:45 CEST 2025

Total time taken to generate the page: 0.02207 seconds