U++ framework
Do not panic. Ask here before giving up.

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: 3464
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: Fri Nov 13 09:48:41 GMT+1 2026

Total time taken to generate the page: 0.00495 seconds