[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error with mutex?
From: |
David Sugar |
Subject: |
Re: error with mutex? |
Date: |
Mon, 29 Dec 2003 22:04:58 -0500 |
User-agent: |
KMail/1.5.3 |
Mutex exists in the ost "namespace". If you do not use namespace directives,
you can just use ost::Mutex, just like you can use std::xxx for things in the
std namespace...
On Monday 29 December 2003 12:47 pm, Eugeny N Dzhurinsky wrote:
> =======================test.cpp===========================
> #include <cc++/thread.h>
>
> int main()
> {
> Mutex m;
> }
> ==========================================================
>
> when building, i'm getting:
>
> g++ test.cpp -I/usr/local/include/cc++2
> test.cpp: In function `int main()':
> test.cpp:5: syntax error before `;
>
> Seems that there are no Mutex class defined?
>
> OS details: FreeBSD 4.9
> CommonCPP built from ports, version: commoncpp2-1.0.13,1
>
> Any suggestions?
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp
- error with mutex?, Eugeny N Dzhurinsky, 2003/12/29
- Re: error with mutex?,
David Sugar <=