public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Vincent Torri <torri@math.u-strasbg.fr>
To: gcc-help@gcc.gnu.org
Cc: Eljay Love-Jensen <eljay@adobe.com>
Subject: Re: incompatibility between g++ and vc++: Mutex (solved)
Date: Fri, 25 Jun 2004 12:40:00 -0000	[thread overview]
Message-ID: <Pine.SOL.4.21.0406251435550.18644-100000@irmasrv2> (raw)
In-Reply-To: <Pine.SOL.4.21.0406182320410.397-100000@irmasrv2>


> 
> Hello,
> 
> i have another problem with this line: 
> 
> Mutex first & = &other < this ?  mutex_: other.mutex_;
> 
> There's an error with g++ (and none with vc++) : 
> error: syntax error before `;' token

I have solved this problem
there were missing parenthesis... :

  Mutex first & = (&other) < this ?  mutex_: other.mutex_;

I don't know if, that case, vc++ would have given the wrong result.

Vincent TORRI

      parent reply	other threads:[~2004-06-25 12:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-15 22:13 incompatibility between g++ and vc++ (again) Vincent Torri
2004-06-16  5:41 ` Gabriel Dos Reis
2004-06-16  5:55   ` Vincent Torri
2004-06-18 21:24   ` incompatibility between g++ and vc++: Mutex Vincent Torri
2004-06-18 23:25     ` Eljay Love-Jensen
2004-06-19  8:23       ` Vincent Torri
2004-06-25 12:40     ` Vincent Torri [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SOL.4.21.0406251435550.18644-100000@irmasrv2 \
    --to=torri@math.u-strasbg.fr \
    --cc=eljay@adobe.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).