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 next message
koldo is currently offline  koldo
Messages: 3358
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
Re: Problem with Core/Mt.h Mutex and RWMutex [message #20683 is a reply to message #20670] Tue, 31 March 2009 15:22 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Fixed.

Mirek
Previous Topic: C++ libraries
Next Topic: Proposal on *Index: access via hash value
Goto Forum:
  


Current Time: Mon Apr 29 16:43:24 CEST 2024

Total time taken to generate the page: 0.02813 seconds