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  |
 |
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
|
|
|
Goto Forum:
Current Time: Sat May 10 06:48:36 CEST 2025
Total time taken to generate the page: 0.03025 seconds
|